In 1528, Babur’s general Mir Baqi demolished a temple at Shri Ram’s birthplace in Ayodhya’s Ramkot (the Fort of Shri Ram) and built a mosque on its ruins.
According to the traditional Sikh literature, Janma Sakhis, Shri Guru Nanak Dev, the founder of Sikh dharma, visited Ayodhya in 1510-11 CE for darshan of Ram Janmabhoomi temple. Indian Supreme Court made a reference to this episode in their November 9, 2019, order.