Malawi was a predecessor to the modern-day Republic of Malawi. It existed between 1964 and 1966. When British rule ended in 1964, by the Malawi Independence Act 1964, the Nyasaland Protectorate, formerly a constituent of the Federation of Rhodesia and Nyasaland, became an independent Commonwealth realm. The British monarch was head of state. Malawi shared the sovereign, Queen Elizabeth II, with the other Commonwealth realms. The monarch's constitutional roles were mostly delegated to the Governor-General of Malawi, Sir Glyn Smallwood Jones (6 July 1964 – 6 July 1966).
The royal succession was governed by the same rules as the succession to the British throne. Elizabeth II did not reside in or visit Malawi in the 1960s but she did visit in 1979 (22–25 July) as Head of the Commonwealth.
Hastings Banda held office as prime minister (and head of government) of Malawi during this period. Following the abolition of the monarchy, the Republic of Malawi came into existence on 6 July 1966 and Banda became the first President of Malawi.