During the Ming and Qing dynasties, large areas of Yunnan were administered under the native chieftain system. Under the Qing dynasty a war with Burma also occurred in the 1760s due to the attempted consolidation of borderlands under local chiefs by both China and Burma. [citation needed]