Al Biruni was made court astrologer in Ghazni and he accompanied with Mahmud on his invasions on India. He lived for several years here and is considered to be first Indologist.
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’.