The death of the Fourth Dalai Lama in 1617 led to open conflict breaking out between various parties.
Firstly, the Tsangpa dynasty, rulers of Central Tibet from Shigatse, supporters of the Karmapa school and rivals to the Gelugpa, forbade the search for his incarnation.
However, in 1618 Sonam Rabten, the former attendant of the 4th Dalai Lama who had become the Ganden Phodrang treasurer, secretly identified the child, who had been born to the noble Zahor family at Tagtse castle, south of Lhasa.
Then, the Panchen Lama, in Shigatse, negotiated the lifting of the ban, enabling the boy to be recognised as Lobsang Gyatso, the 5th Dalai Lama.

Also in 1618, the Tsangpa King, Karma Puntsok Namgyal, whose Mongol patron was Choghtu Khong Tayiji of the Khalkha Mongols, attacked the Gelugpa in Lhasa to avenge an earlier snub and established two military bases there to control the monasteries and the city.
This caused Sonam Rabten who became the 5th Dalai Lama's changdzo or manager, to seek more active Mongol patronage and military assistance for the Gelugpa while the Fifth was still a boy.
So, in 1620, Mongol troops allied to the Gelugpa who had camped outside Lhasa suddenly attacked and destroyed the two Tsangpa camps and drove them out of Lhasa, enabling the Dalai Lama to be brought out of hiding and publicly enthroned there in 1622.

In fact, throughout the 5th's minority, it was the influential and forceful Sonam Rabten who inspired the Dzungar Mongols to defend the Gelugpa by attacking their enemies.
These enemies included other Mongol tribes who supported the Tsangpas, the Tsangpa themselves and their Bönpo allies in Kham who had also opposed and persecuted Gelugpas.
Ultimately, this strategy led to the destruction of the Tsangpa dynasty, the defeat of the Karmapas and their other allies and the Bönpos, by armed forces from the Lhasa valley aided by their Mongol allies, paving the way for Gelugpa political and religious hegemony in Central Tibet.
Apparently by general consensus, by virtue of his position as the Dalai Lama's changdzo (chief attendant, minister), after the Dalai Lama became absolute ruler of Tibet in 1642 Sonam Rabten became the "Desi" or "Viceroy", in fact, the de facto regent or day-to-day ruler of Tibet's governmental affairs.
During these years and for the rest of his life (he died in 1658), "there was little doubt that politically Sonam Chophel [Rabten] was more powerful than the Dalai Lama".
As a young man, being 22 years his junior, the Dalai Lama addressed him reverentially as "Zhalngo", meaning "the Presence".

During the 1630s Tibet was deeply entangled in rivalry, evolving power struggles and conflicts, not only between the Tibetan religious sects but also between the rising Manchus and the various rival Mongol and Oirat factions, who were also vying for supremacy amongst themselves and on behalf of the religious sects they patronised.
For example, Ligdan Khan of the Chahars, a Mongol subgroup who supported the Tsang Karmapas, after retreating from advancing Manchu armies headed for Kokonor intending destroy the Gelug.
He died on the way, in 1634 but his vassal Choghtu Khong Tayiji, continued to advance against the Gelugpas, even having his own son Arslan killed after Arslan changed sides, submitted to the Dalai Lama and become a Gelugpa monk.
By the mid-1630s, thanks again to the efforts of Sonam Rabten, the 5th Dalai Lama had found a powerful new patron in Güshi Khan of the Khoshut Mongols, a subgroup of the Dzungars, who had recently migrated to the Kokonor area from Dzungaria.
He attacked Choghtu Khong Tayiji at Kokonor in 1637 and defeated and killed him, thus eliminating the Tsangpa and the Karmapa's main Mongol patron and protector.

Next, Donyo Dorje, the Bönpo king of Beri in Kham was found writing to the Tsangpa king in Shigatse to propose a co-ordinated 'pincer attack' on the Lhasa Gelugpa monasteries from east and west, seeking to utterly destroy them once and for all.
The intercepted letter was sent to Güshi Khan who used it as a pretext to invade central Tibet in 1639 to attack them both, t
The death of the Fourth Dalai Lama in 1617 led to open conflict breaking out between various parties. Firstly, the Tsangpa dynasty, rulers of Central Tibet from Shigatse, supporters of the Karmapa school and rivals to the Gelugpa, forbade the search for his incarnation. However, in 1618 Sonam Rabten, the former attendant of the 4th Dalai Lama who had become the Ganden Phodrang treasurer, secretly identified the child, who had been born to the noble Zahor family at Tagtse castle, south of Lhasa. Then, the Panchen Lama, in Shigatse, negotiated the lifting of the ban, enabling the boy to be recognised as Lobsang Gyatso, the 5th Dalai Lama.
Also in 1618, the Tsangpa King, Karma Puntsok Namgyal, whose Mongol patron was Choghtu Khong Tayiji of the Khalkha Mongols, attacked the Gelugpa in Lhasa to avenge an earlier snub and established two military bases there to control the monasteries and the city. This caused Sonam Rabten who became the 5th Dalai Lama's changdzo or manager, to seek more active Mongol patronage and military assistance for the Gelugpa while the Fifth was still a boy. So, in 1620, Mongol troops allied to the Gelugpa who had camped outside Lhasa suddenly attacked and destroyed the two Tsangpa camps and drove them out of Lhasa, enabling the Dalai Lama to be brought out of hiding and publicly enthroned there in 1622.
In fact, throughout the 5th's minority, it was the influential and forceful Sonam Rabten who inspired the Dzungar Mongols to defend the Gelugpa by attacking their enemies. These enemies included other Mongol tribes who supported the Tsangpas, the Tsangpa themselves and their Bönpo allies in Kham who had also opposed and persecuted Gelugpas. Ultimately, this strategy led to the destruction of the Tsangpa dynasty, the defeat of the Karmapas and their other allies and the Bönpos, by armed forces from the Lhasa valley aided by their Mongol allies, paving the way for Gelugpa political and religious hegemony in Central Tibet. Apparently by general consensus, by virtue of his position as the Dalai Lama's changdzo (chief attendant, minister), after the Dalai Lama became absolute ruler of Tibet in 1642 Sonam Rabten became the "Desi" or "Viceroy", in fact, the de facto regent or day-to-day ruler of Tibet's governmental affairs. During these years and for the rest of his life (he died in 1658), "there was little doubt that politically Sonam Chophel [Rabten] was more powerful than the Dalai Lama". As a young man, being 22 years his junior, the Dalai Lama addressed him reverentially as "Zhalngo", meaning "the Presence".
During the 1630s Tibet was deeply entangled in rivalry, evolving power struggles and conflicts, not only between the Tibetan religious sects but also between the rising Manchus and the various rival Mongol and Oirat factions, who were also vying for supremacy amongst themselves and on behalf of the religious sects they patronised. For example, Ligdan Khan of the Chahars, a Mongol subgroup who supported the Tsang Karmapas, after retreating from advancing Manchu armies headed for Kokonor intending destroy the Gelug. He died on the way, in 1634 but his vassal Choghtu Khong Tayiji, continued to advance against the Gelugpas, even having his own son Arslan killed after Arslan changed sides, submitted to the Dalai Lama and become a Gelugpa monk. By the mid-1630s, thanks again to the efforts of Sonam Rabten, the 5th Dalai Lama had found a powerful new patron in Güshi Khan of the Khoshut Mongols, a subgroup of the Dzungars, who had recently migrated to the Kokonor area from Dzungaria. He attacked Choghtu Khong Tayiji at Kokonor in 1637 and defeated and killed him, thus eliminating the Tsangpa and the Karmapa's main Mongol patron and protector.
Next, Donyo Dorje, the Bönpo king of Beri in Kham was found writing to the Tsangpa king in Shigatse to propose a co-ordinated 'pincer attack' on the Lhasa Gelugpa monasteries from east and west, seeking to utterly destroy them once and for all. The intercepted letter was sent to Güshi Khan who used it as a pretext to invade central Tibet in 1639 to attack them both, t
Dalai Lama