After the death of Gujarat Sultan Qutb-ud-dín Ahmad Shah II, the nobles raised his uncle Daud, son of Ahmad Shah I to the throne. He reigned over the Gujarat Sultanate from few days in 1458 CE.
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’.