The Yarlung kings gradually extended their control, and by the early 6th century most of the Tibetan tribes were under its control,[16] when Namri Songtsen (570?–618?/629), the 32nd King of Tibet of the Yarlung Dynasty, gained control of all the area around what is now Lhasa by 630, and conquered Zhangzhung.[1] With this extend of power the Yarlung kingdom turned into the Tibetan Empire.[16]