Mubarak Shah was the second ruler of the Sayyid dynasty which ruled the Delhi Sultanate after the fall of the Tughlaq dynasty. He succeeded his father, Khizr Khan to the throne in 1421 CE.
It is believed that Babur was invited to fight against Ibrahim Lodhi by Daulat Khan Lodhi , the Governor of Punjab, AlamKhan, the uncle of Ibrahim Lodhi, and Rana Sanga of Mewar.
The Mosque was built by Mughal emperor, Shah Jahan’s daughter in 1648 A.D. It was constructed by more than 5000 workers. It was originally called Masjid-i-Jahan Numa, meaning ‘mosque commanding view of the world’.