In the 17th century, a theocratic government independent of Tibetan political influence was established, and premodern Bhutan emerged. The theocratic government was founded by an expatriate Drukpa monk, Ngawang Namgyal, who arrived in Bhutan in 1616 seeking freedom from the domination of the Gelugpa subsect led by the Dalai Lama (Ocean Lama) in Lhasa. After a series of victories over rival subsect leaders and Tibetan invaders, Ngawang Namgyal took the title Zhabdrung (At Whose Feet One Submits, or, in many Western sources, Dharma Raja), becoming the temporal and spiritual leader of Bhutan. Considered the first great historical figure of Bhutan, he united the leaders of powerful Bhutanese families in a land called Drukyul. He promulgated a code of law and built a network of impregnable dzong, a system that helped bring local lords under centralized control and strengthened the country against Tibetan invasions. Many dzong were extant in the late 20th century.