 The <unk> Mosque was built in the 17th century by emperor Aurangzeb over the ruins of a Hindu temple . The Hindu temple that was destroyed was dedicated to Vishnu , and had been built by Beni <unk> Rao <unk> , a Maratha chieftain . When emperor Aurangzeb had captured Banaras , he had ordered total destruction of all Hindu temples there . Aurangzeb then built a mosque over the ruins of this temple in 1669 and named it as <unk> Mosque in the name of his own honorific title " Alamgir " which he had adopted after becoming the emperor of Mughal empire . The mosque is located at a prominent site above the Panchganga Ghat , which is a funerary ghat facing the Ganges . The mosque is <unk> a blend of Islamic and Hindu architecture , particularly because of the lower part of the walls of the mosque having been built fully with the remains of the Hindu temple . The mosque has high <unk> and <unk> . Two of its <unk> had been damaged ; one <unk> crashed killing a few people and the other <unk> was officially brought down because of stability concerns . Non @-@ Muslims are not allowed to enter the mosque . The mosque has a security cordon of a police force . 
