Myanmar country profile
Myanmar, also known as Burma, was long considered a pariah state while under the rule of an oppressive military junta from 1962 to 2011.
The generals who ran the country suppressed almost all dissent and stood accused of gross human rights abuses, prompting international condemnation and sanctions.
A gradual liberalisation began in 2010, leading to free elections in 2015 and the installation of a government led by veteran opposition leader Aung San Suu Kyi the following year.
But an army operation against alleged terrorists in Rakhine State since August 2017 has driven more than half a million Muslim Rohingyas to flee to neighbouring Bangladesh, in what the United Nations called a "textbook example of ethnic cleansing".
It damaged the new government's international reputation, and highlighted the continuing grip of the military in Myanmar.
This was confirmed when Aung San Suu Kyi and her government were overthrown in an army coup in February 2021.
See more country profiles - Profiles compiled by BBC Monitoring
KEY FACTS
LEADERS
President: (acting) Myint Swe
The army promoted Vice-President Myint Swe to the acting presidency in February 2021, after overthrowing President U Win Myint and de-facto head of government Aung San Suu Kyi in a coup.
A veteran politician and former general, Myint Swe took on a largely ceremonial role, while real power lies with army commander-in-chief and coup leader Min Aung Hlaing.Aung San Suu Kyi had run the country as State Counsellor since the end of military rule in 2016.
The reputation of this leader of the pro-democracy movement was battered in 2017 by her government's treatment of the Muslim Rohingya community, who the UN said were victims of ethnic cleansing at the hands of the military.
Tensions also remained between the government and military, culminating in the 2021 coup. The army accused the government of rigging the November parliamentary elections, and put Min Aung Hlaing in charge for a one-year period.Aung San Suu Kyi, U Win Myint and other government leaders have been detained.
MEDIA
Myanmar's media have seen a gradual easing of strict state controls since 2011.
But media freedom has not been a priority for the democratically elected government that took office in 2016, says Reporters Without Borders.
The state still controls the main broadcasters and publications, and self-censorship is commonly practised.
TIMELINE
1057 - King Anawrahta founds the first unified Myanmar state at Pagan and adopts Theravada Buddhism.
1531 - Toungoo dynasty reunites country as Burma.
1885-86 - Burma comes under British rule.
1948 - Burma becomes independent.
1962 - The military junta takes over, initially in the shape of a single-party socialist system.
1990 - Opposition National League for Democracy (NLD) wins landslide victory in elections, but the military ignores the result.
2011 - The military hands over to a nominally civilian government following elections the previous year.
2015 - Elections. Opposition National League for Democracy - led by Aung San Suu Kyi - wins enough seats in parliament to form a government.
2018 August - UN accuses Myanmar of genocide against Rohingya Muslims.
2021 February - Government overthrown in military coup.