According to Kalhana, the "Rama-svamin" idol was later destroyed by the men of Gauda to avenge their king's assassination by Lalitaditya. The Gauda king had come to Kashmir on a visit, and the idol of "Parihasa-Keshava" had been made a surety for his safety. Despite this, Lalitaditya had him assassinated in Trigrami (modern Trigam). To avenge their king's treacherous murder, his servants came from Gauda to Kashmir, determined to destroy Lalitaditya's beloved "Parihasa-Keshava" idol. They entered Kashmir under the pretext of visiting the shrine of the goddess Sharada. Lalitaditya was away from Parihasapura at that time, and the attendants of the Parihasa-Keshava temple closed its gates to prevent the Gauda men from entering the shrine. The Gauda men mistook the "Ramasvamin" idol for the "Parihasa-Keshava" idol, and destroyed it, before being killed by Lalitaditya's soldiers.