Avantipur was named after King Avanti Varman. He was the King who founded Utpala Dynasty and ruled Kashmir during 855 - 883 AD. He built two massive temples, one dedicated to Lord Vishnu and another to Lord Shiva. During his rule, he appointed an engineer