sentences:  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 till 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, 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. 
  
  Irrespective of the Newars' own complex and much elaborate social stratification, the legal code "Muluki Ain", promulgated in January 1854 A.D. by the new Rana regime, classified the entire Newar community as a single "enslavable alcohol-drinking" caste.