Another legend declares that when the Mughal emperor Aurangzeb demolished the Kashi Vishwanath Temple in 1669, and constructed Gaynvapi Mosque (he had even renamed Varanasi as Mohammadâbâd), the Shiva Linga was shifted to Guptakashi for safe keeping. But the original linga of Kashi Vishwanath is stated to have remained here from the time it was shifted.