After his consolidation of power, he declared war to the Kazakh Khanate in 1698, in response to the Kazakhs raid — which killed Urkudei batur tayiji and 500 civilians. As he routed the Kazakh army in the
Chu and
Talas rivers, killing thousands and taking about 10,000 men as
POW. Another
war continued against the Kazakhs with ordering a detachment of Dzungars to invade Kazakhs on 1708, however the Kazakhs retaliated and went deep into
Dzungaria, led by Bogembai batyr. Later Tsewang Rabtan let Danjung (), the eldest son of Lha-bzang Khan marry to his daughter, Boitalak () in 1714. In the same year, he sent his son Lobsangtur and
Galdan Tseren to attack recapture lost territories against the Kazakhs, in which they succeeded. He consolidated Dzungar power by 1715 with attacking recapturing city of Hami in the previous year, which was lost in 1698. In 1716, He sent an army to 1716, to continue his war against the Kazakhs, they attacked and plundered during the campaign, however they had counterattacked on the Ili river valley. But with
Kaip Khan and
Abulkhair khan's disagremeents and a later campaign — the Dzungars managed to win over the Kazakhs. He also send his brother Tseren Dhondup to
siege Yamyshev fortress forcing them to withdraw from huge casualty and losses. In 1717, which the Dzungars managed to defeat the Kazakhs again on the
Ayagoz river, he also sent one army of 300 into
Amdo to retrieve the
7th Dalai Lama, planning to consolidate Tibetan support by bringing him to Lhasa, and another army of 6000, led by his brother Tseren Dhondup, that successfully took
Lhasa from the
Khoshut and killed Lha-bzang Khan. The Dzungar occupation of Tibet became more difficult to sustain as time passed, and though they managed to defeat a poorly organized Chinese invasion at the
Battle of the Salween River in 1718, Qing troops took Lhasa in 1720
during their second and larger expedition. After Danjung died circa 1717, allegedly at the hands of Tsewang Rabtan, Boitalak married a
taisha or prince of the
Khoid, a section of the
Dzungar people, and later gave birth to
Amursana (1723–1757), who would grow up to be Khan of Dzungaria during the reign of the
Qianlong Emperor. Later that his forces sent earlier had managed to ravage
Turkistan, although the results are disputed. In 1719, another Russian expedition occurred, in which he sent Galdan Tseren to
attack them at Zaysan lake, in which succeeded. Later, the Qing Dynasty
sent a larger force to Tibet, in which removed the Dzungar occupation of Tibet and established the
Qing rule in Tibet soon. After the war with the Qing Dynasty, He was now able to focus his troops unto Kazakh Khanate which he declared war and started the
fifth war, in which his commander and son — Lobsangtur managed to
ravage the Kazakh Steppe and form an occupation. == Death and aftermath ==