Thakuri dynasty

[4] When the Lichchavi rule ended and the rule of Thakuris began, the native Newars, who were descendents of the Lichchavis and Kirats were mostly following Shaiva tantric sect and Buddhist Tantric sect during Thakuri dynasty.

To commemorate this important event, Raghava Deva started the 'Nepal Era' which began on 20 October, 879 CE.

Gunakama Deva, who ruled from 949 to 994 CE, commissioned the construction of a big wooden shelter, built from the wood of a single tree, called Kasthamandapa.

He built the Laksmi Vihara and introduced the tradition of worshiping the Kumari; young prepubescent girls believed to be manifestations of the divine female energy or devi.

The custom of pasting the pictures of Nagas and Vasuki on the doors of houses on the day of Nagapanchami was introduced by him.

During his rule, the Buddhists wreaked vengeance on the Hindu Brahmins (especially the followers of Shaivism) for the harm they had received earlier from the Shankaracharya.

[citation needed] Shankara Deva tried to pacify the Brahmins harassed by the Buddhists.

He suppressed the Nuwakot-Thankuris with the help of nobles and restored the old Solar Dynasty rule in Nepal for the second time.

Taking that opportunity Nanyadeva, King of the Karnats of Mithila, attacked Nuwakot.