brothers Thalun and Minye Kyawswa II invaded the Chinese Shan states in present-day southern Yunnan in May 1622. For the next 20 months, Burmese forces chased Kenghung troops. Finally in January 1624, Kenghung and Kengyun both surrendered. Kengyun promptly rebelled the following year but it was put down in December 1626 by the king's brothers. By then, Nyaungyan and Anaukpetlun had restored much of Bayinnaung's empire. Only Siam and Lan Xang remained outside the Restored Toungoo Empire. But the Burmese would not overstretch again. They would not launch major invasions against these neighbours until the 1760s. Ming incursions (1651–1662) In the 1650s, Burma became entangled in the dynastic changes in China. In 1651, Ming armies fleeing from the Qing forces entered Kengyun (east of Bhamo), which had paid tribute to both China and Burma. King Pindale sent five regiments to the front in October 1651. But the armies were driven back by the Ming in December 1651. Pindale would not contest again. In 1658, Zhu Youlang, one of the sons of the last Ming emperor, and his 700 followers were given permission to stay at Sagaing. In early 1659, other fleeing Ming armies entered the Shan states, and occupied Nyaungshwe and Mone with the intention to set up a kingdom for their emperor. For the next two years, the Ming forces proved a menace to Upper Burma. Not only Pindale could not drive out the Ming but it was the Ming that continually threatened the Burmese capital itself, and ransacked Upper Burma districts. On 4 June 1661, Pye Min overthrew his ineffectual brother, and took over the command. He finally drove out the Ming by November 1661. The problems were not yet over for the Burmese. On 21 December 1661, a Qing army of 20,000 under Gen. Wu Sangui showed up at Ava, demanding the surrender of the Ming emperor. The emperor was handed over on 15 January 1662, and the Qing forces left a week later. Siamese invasions (1662–1664) While Burma had its hands full with the Ming Chinese invasions, Siam's King Narai attempted to pick off the upper Tenasserim coast and Lan Na. He got Martaban to switch sides in March 1662, and occupied the coast. Fortunately for the Burmese, their troubles with the Ming were over. Their land and naval units recaptured Martaban and Tavoy by December 1662. They followed up on the retreating Siamese but were