Unlike the Hindu caste systems prevalent in Khas and Madhesi societies, the existence and influence of Buddhist "ex-monks" from ancient times in the Kathmandu Valley added a "double-headed" element to the Newar caste system. While Rājopādhyāya Brahmins (or Déva-bhāju) occupied the highest social position in the Hindu side, the Vajracharya (or Guru/Gu-bhāju) formed the head among the Buddhists. For Hindu Newars, Brahmans had formal precedence with Kshatriyas, which included the royal family and the various groups now known as Srēṣṭha who ran the administration of the Malla courts. For Buddhist Newars, the non-celibate (gr̥hastha) priestly sangha class Vajracharyas and Shakyas ( who are collectively called "Bañdā" or "Baré") were provided with the highest position. In Kathmandu, they were followed by a lay patron Buddhist caste of Urāy, or Upasakas, who specialized in the trade with Tibet. Therefore, the Hindu Rajopadhyaya Brahmins and Buddhist Vajracharyas occupy the highest position in Newar society. This is followed by the Hindu Kshatriya nobility (Chatharīya Srēṣṭha) and the Vaishya merchant and traders castes. The Newar "varna" logic as stratified from the Hindu Brahmanic perspective place Shakya-Baré, Urāy among the Buddhists, and Pāncthariya Srēṣṭha, Tamrakar and Halwais among the Hindus among the "dwija" twice-born status as the core Vaishya castes of Newars who are highly specialized in trade and commerce.