The then ruler of Mysore and Srirangapatna, Tipu Sultan had demolished several temples to build mosques in the area. "Jumma Masjid was constructed by Tipu Sultan on top of the Anjaneya temple after filling up latter's ground floor," the old archaeological report had stated.