Theingaba (, ; also spelled Thinhkaba) was the first king of Toungoo (Taungoo) from 1358 to 1367. Prior to his independent reign, he was governor of Toungoo for 11 years before successfully breaking away from Pinya in 1358. He spent his last two years (1365–67) resisting attempts by King Thado Minbya of Ava to reclaim Toungoo. Governor of Toungoo Of commoner background, Theingaba first rose to prominence during the administration of Gov. Kayin Ba (1325–42). He eventually became chief minister, and ran the day-to-day affairs of the nominal vassal state of Pinya. The powerful minister continued to serve Ba's successor Letya Sekkya but was sidelined in 1344 when Htauk Hlayga seized the governorship by assassinating Sekkya. Hlayga had timed the assassination during the transition of power at Pinya, and the new king Kyawswa I of Pinya (r. 1344–50) allowed Hlayga to keep the office. Although Hlayga had been a longtime minister since the 1310s, he ultimately proved to be an incompetent ruler. About a year and nine months into Hlayga's rule, January 1347, Theingaba successfully staged a coup, and put Hlayga to death. Like Hlayga before him, he quickly submitted to Pinya, and was allowed to keep the office. Theingaba remained a nominal vassal of Pinya for the next decade. He pledged allegiance to King Kyawswa II of Pinya (r. 1350–59), who succeeded the Pinya throne in 1350. But the governor increasingly acted like a sovereign ruler. He conducted his own foreign policy by forging alliances with the Kingdom of Ramanya in the south; Lan Na in the east; and Taungdwin, also a vassal state of Pinya, in the west. An experienced administrator, he kept the region peaceful and prosperous. Toungoo continued to grow in size, attracting migrants from Upper Burma. Immigration from Central Burma to his geographically isolated region accelerated, starting in 1356–57 when the powerful Shan state of Mong Mao (Maw) began raiding the northernmost Central Burmese state of Sagaing. Ruler of Toungoo Independence from Pinya His break with Pinya came shortly after. In 1357/58, Kyawswa II agreed to an alliance with Sagaing to defend against the raids. Theingaba decided not to support Pinya's war effort. The vassal ruler not only refused to provide his share of manpower to Pinya, as vassals were required to do, but also decided to go on the offensive. As the Maw Shans began their raid of Sagaing in late 1358, he raided