Buniyar Temple, about two miles above Rampur, situated along the Baramula-Uri road on the bank of the Vitasta, is often described as the "best preserved" specimen of Kashmiri architecture. Although unlike most Kashmiri temples which are made of limestone, this one (beside the one at Wangat) is made of granite. The temple had recently been excavated on the orders of Maharaja Ranbir Singh. Before that, the temple had been claimed by mountain and the trees, which might explain why it survived vandalisation and remained untouched for a long time.The ruins of this temple had earlier been noticed by Karl Alexander A. Hügel (1835) and G.T. Vigne (1837). Hügel mistakenly described it as a well preserved Buddhist temple, while Vigne called it a Hindu ruin on the road. An attempt to study the temple was first made by Alexander Cunningham in November 1847. He noticed that the Pandits called the place 'Bhawaniyar'. And assumed it to be a 'Bhawani' temple. Cunningham couldn't examine the temple properly as it was half-buried under snow at the time. Using a telescope he tried to see beyond the thick foliage if the inner wall of the temple had a colonnade.