Avanti Shovra Temple or Avantisvara temple
History
The temple was built by King Avantivarman in the year 853–855 CE. Originally known as Viswasara, the ancient town was also a capital city. Avantivarman was also the founder of Avantipur and of the Utpala dynasty in the 9th century CE. He had built many Hindu temples in Kashmir during his reign, which were largely destroyed due to Muslim conquests.
During the reign of Avantivarman, the region prospered. The Avantiswami Temple is an example of the stone temple architecture of Kashmir during that era.
Prior to the Muslim conquests, Kashmir was a center of Shaivism and Hindu philosophy, and a seat of Sanskrit learning and literature. By the 14th century, Kashmir had come under Muslim rule, and most of its early temples were deserted or sacked by the early 15th century. Two temples here are attributed to him: the Avantiswami Temple dedicated to Vishnu and the Avantishwara Temple dedicated to Shiva. The Avantiswami is smaller, but similar in planning to the earlier Martand Sun Temple.