 Maw Shans from Mong Mao settled in the Shweli valley, and raided and invaded the Bamar heartlands down the Shweli, but King Anawrahta of Bagan (1044–1077) reduced them to a vassal state.The fall of the kingdom of Bagan in the 13th century, however, saw a resurgence of Shan power, although King Bayinnaung (1551–1581) of the Taungoo Dynasty succeeded in pacifying them to establish Burmese suzerainty once and for all.King Hsinbyushin (1763–1776) of the Konbaung Dynasty also successfully repelled Chinese invasions (1765-9) that advanced down the Shweli and Myitnge river valleys.