噶尔丹
He expanded the kingdom into Zanskar and Spiti, but was defeated by the Mughals, who had already occupied Kashmir and Baltistan. His son Deldan Namgyal (1642-1694) had to placate the Mughal emperor Aurangzeb by building a mosque in Leh. However, he defeated the Mughal army in Baltistan. His son Delek sided with Bhutan in a religious dispute between Tibet and Bhutan, which resulted in an attempted invasion by the fifth Dalai Lama. The Moghuls withdrew after being paid off by the 5th Dalai Lama. With the help of reinforcements from Galdan Boshugtu Khan, Khan of the Zungar Empire, the Tibetans attacked again in 1684. The Tibetans were victorious and concluded a treaty with Ladakh then they retreated back to Lhasa in December 1684. The Treaty of Temisgam in 1684 settled the dispute between Tibet and Ladakh, but its independence was seriously restricted.