century in the Nepalarastrasastra by the Maithil–origin king Jayasthithi Malla (1354–1395 A.D.). Jayasthithi Malla, with the aid of five Kānyakubja and Maithil Brahmins whom he invited from the Indian plains, divided the population of the valley into four major classes (varna)—Brahmin, Kshatriya, Vaishya, Shudra—derived from the ancient Hindu text Manusmriti and based on individual's occupational roles. The four classes varna encompassed a total of 64 castes jat within it, with the Shudras being further divided into 36 sub-castes. After the Gurkhali conquest of Kathmandu Valley, King Prithvi Narayan Shah expelled the Christian Capuchin missionaries from Patan and revisioned Nepal as Asal Hindustan (Real Land of Hindus). The Tagadharis, thread wearing Hindus of higher categorization, enjoyed the privileged status in the Nepalese capital and more access to the central power after the Gurkhali King Prithvi Narayan's conquest of Kathmandu Valley. Since then Hinduization became the significant policy of the Kingdom of Nepal. The Nepali civil code Muluki Ain was commissioned by Jung Bahadur Rana after his European tour and enacted in 1854. It was rooted in traditional Hindu Law and codified social practices for several centuries in Nepal. The law also comprised Prāyaścitta (avoidance and removal of sin) and Ācāra (the customary law of different castes and communities). It was an attempt to include the entire Hindu as well as non-Hindu population of Nepal of that time into a single hierarchic civic code from the perspective of the Khas rulers. The Hinduization of Nepal was mainly predominant in Kathmandu and the adjoining regions near the Valley. Nepali society has been known for its interfaith religious harmony and tolerance, but the Hinduization and Saffronisation of Nepal by the Shah dynasty, especially by Prithvi Narayan Shah, were seen as the persecution of other religious communities. After that time, until the 1940s, propagation of any other faith than Hinduism was prohibited. The Hindu community was given special rights and even more rights than the other religious community, though freedom of religion was present in the Kingdom of Nepal. Then, there was the era of Rana dynasty, which was composed mainly of Kshatriya Hindus. Though in the regime of Rana dynasty, Nepal did not witness much Hinduization, but there were still strict Hindus law. Rana rulers focused on the saffronisation of tribal Hindus in the Kingdom and focused mainly on the warrior class Gurkhas. There were many temples and shrines built during the Rana dynasty