The British conquered Burma after three Anglo-Burmese Wars in the 19th century and the country became a British colony (a part of India until 1937 and then a separately administered colony). Burma became an independent nation in 1948, initially as a democratic nation and then, following a coup in 1962, a military dictatorship which formally ended in 2011. For most of its independent years, the country has been engrossed in rampant ethnic strife and a myriad of Burma's ethnic groups have been involved in one of the world's longest-running unresolved civil wars. During this time, the United Nations and several other organizations have reported consistent and systematic human rights violations in the country. In 2011, the military junta was officially dissolved following a 2010 general election, and a nominally civilian government was installed. Although the military retains enormous influence through the constitution that was ratified in 2008, it has taken steps toward relinquishing control of the government. This, along with the release of Burma's most prominent human rights activist, Aung San Suu Kyi, and many other political prisoners, has improved the country's human rights record and foreign relations and has led to the easing of trade and other economic sanctions that had been imposed by the European Union and the United States. There is, however, continuing criticism of the government's treatment of the largely Muslim ethnic Rohingya minority and its poor response to the religious clashes that have occurred throughout the nation, described by various human rights organizations as a policy of ethnic cleansing.