based on remnants and oral evidence of local Brahmins who probably derived from the
Kashikhand. The dotted line traces the compound of the Gyanvapi mosque. Desai finds the presence of mandapas suspect, as accounts of contemporaneous pilgrims did not mention of them; The site originally had a Vishweshwar temple devoted to the
Hindu deity
Shiva. It was built by
Todar Mal, a premier courtier and minister of Akbar, in conjunction with
Narayana Bhatta, a pre-eminent
Brahmin scholar of Banaras from Maharashtra, during the late 16th century. The temple contributed to the establishment of Banaras as a vaunted center of Brahminic assembly, drawing scholars across the subcontinent esp. Maharashtra, for adjudicating a spectrum of disputes concerned with Hindu religious law. Architectural historian Madhuri Desai hypothesizes that the temple was a system of intersecting
iwans —a borrowing from Mughal architecture— with prominent pointed arches; it had a carved stone exterior.
Pre-temple history What was on the site prior to the temple is debated by scholars and has been extensively contested by the local Hindu and Muslim populations. Desai said these multiple histories of the original temple and tensions arising out of the location of Gyanvapi fundamentally shaped the sacred topography of the city.
Popular claims 21st-century accounts of the history of the mosque, as purveyed by Hindus, centre around a litany of repeated destruction and re-construction of the original temple which is situated in contrast to the timelessness of the lingam. The original temple was allegedly uprooted by
Ghurids in 1193/1194 CE, upon the defeat of
Jayachandra of
Kannauj; the Razia Mosque was constructed in its place, a few years later. The temple would be rebuilt by a Gujarati merchant during the reign of
Iltutmish (1211–1266 CE) at today's site — in what used to be Avimukteshwara's precincts — only to be demolished by
Hussain Shah Sharqi (1447–1458) of the Jaunpur Sultanate or
Sikandar Lodi (1489–1517) of the Delhi Sultanate.
Historicity The earliest manuscripts of
Skanda Purana ( CE) describe Banaras to be the
kshetra of Avimukteshwar; there is no mention of Vishweshwar. The slightly later
Matsya Purana, too, attests the supremacy of Avimukteshwar and does not mention Vishweshwar; however, certain corrupt manuscripts include it, suggesting a late interpolation.
Krtyakalpataru, an encyclopedia of traditional Hindu law, written during the reign of
Govindachandra ( early 12th century) quoted a detailed description of Banaras — including an enumeration of all religious sanctuaries — from the
Linga Purana; Kedareshwur was the only linga that was recorded to have been housed in a temple, Avimukteshwara was mentioned to be in the north of a sacred well, and of the two references to Vishweshwar, one is a literal reference to Shiva being the "Lord of the Universe" while the other is a linga. None of the extant Gahadavala inscriptions refer to a Vishveshwar shrine. Seals, excavated from Rajghat, mention Vishveshwar for the first time only in the first decade of the twelfth century; however, they soon become extremely abundant esp. as the Avimukteshwara seals, prevalent for centuries, die out. Desai said it appears unlikely that there existed any prominent-enough Vishweshwar temple in Banaras, during the Ghurid raids ( late-12th century) — or even during
Razia Sultana's reign (fl. 1236) —, to have attracted particular attention in conflicts. She said that Hindu traditions were not timeless but fluid in time and space — they shared a dialogical relationship with popular practice as well as patronage. The Vishweshwar lingam received prominence only between the twelfth and fourteenth centuries with the
Kashikhand being the first text to attempt establishing Vishweshwar as the guardian deity of the city. In contrast,
Hans T. Bakker largely agrees with the popular narrative; he said the pre-history of the site is one of "[Muslim] bigotry and [Hindu] stubbornness". Bakker said that a temple, located at the current-day Gyanvapi precincts and devoted to Avimukteshwara, was indeed destroyed in 1194 CE; he cites Hasan Nizami's chronicling of wanton temple-demolition during Qutb ud-Din Aibak's raid on Banaras in support. At that time, Vishweshwar only occupied the adjacent hill-top that still bears an eponymous name. Soon Razia Sultana had a mosque constructed atop the hill-top forcing the Hindus to reclaim the vacant Gyanvapi site for a temple of Vishweshwar. This new temple of Vishweshwar was destroyed by the Jaunpur Sultanate to supply building materials for mosques at their new capital.
Diana L. Eck agreed; other scholars have critiqued Eck's non-contextual usage of medieval sources. Beginning around the late-thirteenth century, a temple for Vishweshwar/Vishvanath finds mentions in both literary and inscriptional records — an inscription issued by
Narasimha III in 1279 CE endowed the revenue of a village for payment toward taxes by the inhabitants of Banaras and for services at the Visvesvar Temple; an inscription from 1296, used as spolia in the
Lal Darwaza Mosque, refers to a temple for Vishweshwar; and, Bhatta's Tristhalisetu (c. mid-16th century) mentions about how at times, "though there may be no Vishweshwar lingam due to mlechhas or other evil kings", yet pilgrimage must go on.
Richard G. Salomon and others read this as a proof of the existence of a desecrated temple of unknown antiquity, before Todar Mal's construction. For centuries, the Vishweshwar was one among the many sacred sites in the town; it would become the principal shrine of the city only after sustained patronage of Mughals, beginning from the late sixteenth century. == Establishment ==