The part of Africa now known as Malawi was settled around the 10th century by migrating Bantu groups. Centuries later, in 1891, the area was colonized by the British and became a protectorate of the United Kingdom known as Nyasaland. In 1953, it became a protectorate within the semi-independent Federation of Rhodesia and Nyasaland. The Federation was dissolved in 1963. In 1964, the protectorate was ended: Nyasaland became an independent country under Queen Elizabeth II, and was renamed ''Malawi''. Two years later it became a republic. It gained full independence from the United Kingdom, and by 1970 had become a totalitarian one-party state under the presidency of Hastings Banda, who remained in this role until 1994. Today, Malawi has a democratic, multi-party republic headed by an elected president. Lazarus Chakwera of the Malawi Congress Party led the Tonse Alliance grouping of nine political parties and won the court-mandated Presidential Election rerun held on 23 June 2020 after the May 2019 Presidential Election was annulled due to massive electoral irregularities. The country's military, the Malawian Defence Force, includes an army, a navy, and an air wing. Malawi's foreign policy is pro-Western. It maintains positive diplomatic relations with most countries, and participates in several international organisations, including the United Nations, the Commonwealth of Nations, the Southern African Development Community (SADC), the Common Market for Eastern and Southern Africa (COMESA), and the African Union (AU).