Sufism or mysticism emerged in the 8th century. Some of the early known Sufis are as follows: Rabia al-Adawiya, Al-Junaid, and Bayazid Bastami. Sufism evolved into a well-developed movement by the end of the 11th century.
Babur first established himself in Kabul in 1504 A.D. and then pushed steadily southward into India from Afghanistanthrough the Khyber Pass. Later he successfully captured Bhira, Sialkot, and Lahore in Punjab.