Gyanvapi Mosque was created in the year 1664 CE over the leftovers of the original Kashi Viswanath Temple which was dedicated to lord Shiv. The masjid was created by using the materials which were recovered from the temple. Due to this reason, the masjid is religiously delicate and sensitive for both Hindu and Muslim devotees. Afterwards, the masjid was named as Gyanvapi which signify 'the well of knowledge'. There is a well which is situated between the old temple and the current mosque.