In 1961, Banda's Malawi Congress Party (MCP) gained a majority in the Legislative Council elections and Banda became Prime Minister in 1963. The Federation was dissolved in 1963, and on 6 July 1964, Nyasaland became independent from British rule and renamed itself Malawi, and that is commemorated as the nation's Independence Day, a public holiday. Under a new constitution, Malawi became a republic with Banda as its first president. The new document also formally made Malawi a one-party state with the MCP as the only legal party. In 1971, Banda was declared president-for-life. For almost 30 years, Banda presided over a rigidly totalitarian regime, which ensured that Malawi did not suffer armed conflict. Opposition parties, including the Malawi Freedom Movement of Orton Chirwa and the Socialist League of Malawi, were founded in exile.