In the foothills and mountains of the Himalayan range, a series of Hindu kingdoms arose, beginning with the Thakuri dynasty, who ruled parts of Nepal up until the twelfth century; the Malla dynasty, which held dominion until the eighteenth century; and the Shah dynasty, which unified a number of the region’s warring kingdoms into a single Gorkha state in the late eighteenth century.