jama masjid was built by Mughal emperor Shah Jahan between 1644 and 1656 at a cost of 1 million rupees, and was inaugurated by an imam from Bukhara, present-day Uzbekistan. The mosque was completed in 1656 AD with three great gates, four towers and two 40 m high minarets constructed of strips of red sandstone and white marble.
The courtyard can accommodate more than 25,000 persons. There are three
domes on the terrace which are surrounded by the two minarets. On the
floor, a total of 899 black borders are marked for worshippers. The
architectural plan of Badshahi Masjid, built by Shah Jahan's son Aurangzeb at Lahore, Pakistan, is similar to the Jama Masjid.
The mosque has been the site of two attacks, one in 2006 and another in 2010. During the first, two explosions occurred in the mosque, injuring thirteen people. In the second, two Taiwanese students were injured as two gunmen opened fire upon them.