The Chiefdom of Kokang (), was a chiefdom in modern-day Kokang, Shan State, Myanmar ruled by the Han Chinese Yang Clan. The Yang Clan were Ming Empire loyalists that moved to Kokang with other Ming loyalists. Yang Gaoxue was one such loyalists whose descendant, Yang Shien-tsai formed the Chiefdom of Kokang officially on 1739. When the Qing dynasty rose to power in China, the Chiefdom of Kokang decided to acknowledge Qing suzerainty in order to prevent an invasion by the Qing regime. The region was ceded to the British Raj in 1894 after the British defeated the Qing, and the British started chipping away its autonomous status.
The kingdom was officially founded by Yang Shien-tsai (æ¥ÂçÂȾÂÂ/æÂ¨ç®æÂÂ, Yáng Xiàncái); who began his reign in 1739 in and around Ta Shwe Htan, then called Xingdahu (èÂÂéÂÂæÂ¶/å ´è¾¾æÂ·, Xëng Dáhù), and took the title "Chief of Xingdahu". He was succeeded upon his death in 1758 by his son Yang Weixing (æ¥Âç¶ÂèÂÂ/æÂ¨ç»´å ´), later referred to as Chief of Kho Kan Shan (ç§Â干山, KÃÂgàn ShÃÂn).
He expanded his territory tenfold compared to that inherited from his predecessor. After his death in 1795, his son Yang You Gen (æ¥ÂæÂÂæ ¹/æÂ¨æÂÂæ ¹, Yáng YÃÂugÃÂn) became the chief. He soon renamed the state as Kokang and titled himself Heng of Kokang.
In 1840, Yang Guohua (æ¥ÂÃ¥ÂÂè¯) was given the title "the Hereditable Magistrate of Guogan (Kokang) County (ä¸Â襲æÂÂæÂ¢ç¸£ä»¤)" by the Chinese government.
The Heng was succeeded after his death in 1874 by his younger brother Yang Guozheng (æ¥ÂÃ¥ÂÂæÂ£/æÂ¨å½æÂ£), who ruled peacefully and began relations with British Raj colonists upon the British occupation]of Upper Burma. In 1916 he went blind, and abdicated in favor of his nephew Yang Chunrong (æ¥ÂæÂ¥æ¦®/æÂ¨æÂ¥è£, Yáng Chà «nróng). The new ruler then took the Burmese title "Myosa" (lit. town eat, given to a prince). He died in 1927 and was succeeded by his son Colonel Sao Yang Wen Ping (æ¥ÂæÂÂç³/æÂ¨æÂÂç³, Yáng WénbÃÂng), Saopha of Kokang.
After China relinquished its claims on 4 February 1897, Kokang came under British Raj protection.
Kokang was recognized as separate from Shan State in August 1947 by the British, and the ruler took the title Saopha. He died in 1949 and was succeeded by his son Sao Edward Yang Kyein Tsai (æ¥ÂæÂ¯æÂÂ/æÂ¨æÂ¯æÂÂ, Yáng Zhèncái) who was deposed by the Burmese in 1959. Before that it is part Hsenwi Saopha territory.