Muang Sua (Lao: ເມືອງຊວາ, pronounced [mɯ́aŋ súa]) was the name of Luang Phrabang following its conquest in 698 by a Tai/Lao prince, Khun Lo, who seized his opportunity when the king of Nanzhao was engaged elsewhere.
In the second half of the eighth century, Nanzhao intervened frequently in the affairs of the principalities of the middle Mekong Valley, resulting in the occupation of Muang Sua in 709.
Dates of the occupation are not known, but it probably ended well before the northward expansion of the Khmer Empire under Indravarman I (reigned 877–889) and extended as far as the territories of Sipsong Panna on the upper Mekong.
Khun Chuang, a warlike ruler who may have been a Kammu (alternate spellings include Khamu and Khmu) tribesman, extended his territory as a result of the warring of these principalities and probably ruled from 1128 to 1169.
Muang Sua next became the Kingdom of Sri Sattanak, a name connected with the legend of the naga (mythical snake or water dragon) who was said to have dug the Mekong riverbed.
Recent historical research has shown that the Mongols, who destroyed Dali in 1253 and made the area a province of their empire—naming it Yunnan—exercised a decisive political influence in the middle Mekong Valley for the better part of a century.
Ram Khamhaeng, an early ruler of the new Thai dynasty in Sukhothai, made himself the agent of Mongol interests, and in 1282-84 eliminated the vestiges of Khmer and Cham power in central Laos.