The Gyanvapi mosque was constructed by the Mughal Emperor Aurangzeb. It is located north of Dashashwamedh Ghat, near Lalita Ghat along the river Ganga. It is a Jama Masjid located in the heart of the Varanasi city. It is administered by Anjuman Inthazamiya Masajid. A temple structure can be seen at the mosque's rear wall, long believed to be a remnant of the original Kashi Vishwanath temple.