The Babri Masjid (ISO: Bābarī Masjida; meaning Mosque of Babur) was a mosque located in Ayodhya, in the state of Uttar Pradesh, India. It was claimed that the mosque was built upon the site of Ram Janmabhoomi, the legendary birthplace of Rama, a principal deity of Hinduism. The Ayodhya dispute has been a disputed focal point between the Hindu and Muslim communities since the 19th century. According to the mosque's inscriptions, it was built in 935 AH (1528/1529CE) by Mir Baqi, a commander of the Mughal emperor Babur. Before the 1940s, the masjid was officially known as "Masjid-i-Janmasthan" ("the mosque of the birthplace"). The mosque was attacked and demolished by a Hindu nationalist mob in 1992, which ignited communal violence across the Indian subcontinent.
The mosque was located on a hill known as Ramkot ("Rama's fort"). According to Hindu nationalists, Baqi destroyed a pre-existing temple of Rama at the site. The existence of this temple is a matter of controversy. The Archaeological Survey of India conducted an excavation of the disputed site on the orders of the Allahabad High Court. The excavation period was short due to court time constraints, lasting only 15 days. The report of the excavation concluded that there were ruins of "a massive structure" beneath the ruins of the mosque which was "indicative of remains which are distinctive features found associated with the temples of north India", but found no evidence that the structure was specifically demolished for the construction of the Babri Masjid. The report received both praise and criticism, with some other archaeologists contesting the results of the report.