When Aurangzeb invaded Mewar, he sent Ruhillah Khan and Ekka Taz Khan to demolish the famous Jagdish temple which was built in front of the Maharana's palace.
The Ram mandir movement is civilizationally important as it brought in not only the mainstream Hindu voices but also many subaltern voices that did not have a voice in the broader national discourse. It is after a long time that people stood up for something casting aside their caste and even religious divisions.
In 1574 the Vaishnav saint Tulsidas in his writing “Ramcharitmanas” and in 1598 Abu al-Fazal also in his third volume of Akbarnama mentioned the Lord Ram birthday festival in Ayodhya. They did not mention any existence of a mosque.