The country gained total independence in 1948 but the newly formed Socialist government refused to join the Commonwealth as the antipathy for the British remained strong in the country. The next few years were not peaceful at all and the country was torn apart by political insurgencies. The military took over by toppling the government in a coup d’état in 1962. The country was officially renamed as Myanmar in 1989 and general elections were announced. The elected government was, however, not allowed to function properly by the military. Thein Sein is the President of Myanmar. At present the political difficulties continue though, and democracy is yet to take hold properly in the country. That said, Myanmar has made great strides in the right direction during the past year or two.