Originally, it was a Vishnu temple built by , a Maratha chieftain. Tie temple was destroyed by in 17th century and the mosque was builtpn its ruins. It is a bletid of Hindu-Muslim architecture and religious sentiments and is also known as “”. The entire lower portion and enclosure walls are of Hindu design and the mosque, Islamic.