The Badshahi Masjid in Lahore was commissioned by the sixth mughal Emperor Aurangzeb. Constructed between 1671 and 1673, it was the largest masjid in the world upon construction. It is the second largest masjid in Pakistan and the seventh largest masjid in the world. It is Lahore's most iconic and famous landmark and a major tourist attraction. Aurangzeb's masjid's architectural plan is similar to that of his father, Shah Jehan, and Jama Masjid in Delhi; though it is much larger. it also functions as an idgah. The courtyard which spreads over 276.000 square feet, can accommodate one hundred thousand worshippers; ten thousand can be accommodated inside the masjid. The minarets are 196 feet (60 m) tall. the masjid is one of the most famous Mughal structures. But greatly under the reign of Maharaja Ranjit Singh. In 1993, the government of Pakistan included the Badshahi masjid in the tentative list for UNESCO World heritage site.
The masjid is located in the walled city of lahore, Pakistan just opposite to the Alamgiri gate of the lahore fort. The hazuri Bagh separates the masjid and the fort. On the eastern side of the garden is one of the thirteen gates of lahore, The Roshnai gate. The tomb of Muhammad Iqbal lies beside the masjid on one side, while on the other side is the tomb of sir sikandar Hayat Khan who played a major role in preserving and restoring this building.