The Ayodhya dispute is a political, historical, and socio-religious debate in India, centred on a plot of land in the city of Ayodhya, Uttar Pradesh. The issues revolve around the control of a site regarded since at least the 18th century among many Hindus to be the birthplace of their deity Rama, the history and location of the Babri Masjid at the site, and whether a previous Hindu temple was demolished or modified to create the mosque.
The site of the Babri Masjid has been claimed to be the birthplace of Rama since at least 1822. Hafizullah, a superintendent at the Faizabad court submitted a report to the court in 1822 in which he claimed, "The mosque founded by emperor Babur is situated at the birth-place of Ram." In 1855 local Muslims became convinced that the nearby Hanuman Garhi Temple was built over the site of a former mosque, and became resolved to demolish the temple, resulting in violent clashes leading to the deaths of many Muslims. In 1857, a chabutra (platform) was erected in the courtyard of the Babri Masjid at the supposed site of Rama's birthplace. As a consequence of this dispute was a court case in 1885 requesting the construction of a temple to enclose the chabutra, considered to mark the birthplace of Rama, in the courtyard of the Babri Masjid, which was rejected by citing that Hindu side doesn't enjoy proprietary rights. This decision was appealed a year later and the Faizabad district court once again rejected it by "citing the passage of time" as the reason for rejection although the court agreed with the Hindu petitioner's claim by taking note that "It is most unfortunate that a masjid should have been built on land specially held sacred by the Hindus. But as that event occurred 356 years ago it is too late now to remedy the grievance." This was followed by Hindu riots in 1934 following a cow slaughter which damaged the Babri Masjid. In 1949 devotees of Rama placed idols dedicated to him in the mosque, and the structure was subsequently declared off-limits to Muslims.