Burma was unified by Burman dynasties three times during the past millennium. The first such unification came with the foundation of the Pagan Dynasty in 1044 AD, which is considered the "Golden Age" in Burmese history. It is during this time that Theravada Buddhism first made its appearance in Burma, and the Pagan kings built a massive city with thousands of pagodas and monasteries along the Irrawaddy River. The Pagan Dynasty lasted until 1287 when a Mongol invasion destroyed the city. Ethnic Shan rulers, who accomplished a political center at Ava, filled the ensuing political vacuum for a short time. In the 15th century, the Toungoo Dynasty succeeded again in unifying under Burman rule a large, multi-ethnic kingdom. This dynasty, which lasted from 1486 until 1752, left little cultural legacy, but expanded the kingdom through conquest of the Shans. Internal power fights, and the cost of protracted warfare, led to the eventual decline of the Toungoo.
The central government has had a contentious relationship with ethnic groups calling for autonomy or secession for their regions since the nation's freedom. In 1948, only the capital city itself was firmly in control of the Rangoon authorities. consequent military campaigns brought more and more of the nation under central government control. Since 1990, the regime has signed a series of cease-fire agreements with insurgent groups, leaving only a handful still in active opposition.