After the takeover of power by the Khas rulers, Newars as a block were reduced to the status of an occupied subject race, and except for a loyal family or two, they were stripped of their social status and economic foothold. Even Newar Brahmins who had been serving as priests for Newars lost ritual status vis-a-vis the "Hill Brahman", the Parbate Bahuns, of the Khas people community. Even the old military-administrative caste of the Śreṣṭha was largely reduced to 'Matawali' status, and were barred from joining high military and administrative posts for a long period of time. The last Newar noble to hold some power, Kaji Tribhuvan Pradhan, was beheaded in a court intrigue in 1806 A.D. Newars were generally not admitted in the civil service until 1804 A.D, after which only a handful of Newars were admitted in the higher administration. These notable exceptions came from the Kshatriya-status Chatharīya clans like the Pradhan, Rajbhandari, Joshi, Mathéma, among others, who did reach high administrative and military positions in the new Gorkhali administration. Even though Gorkhalis saw them as part of the 'defeated' aristocracy of the Malla kingdoms, they went on to form the core of the ruling administrative elite of the new Nepali state till the end of Rana regime in 1951 A.D.