When the British became increasingly unable to continue their colonial hold on Asia and were losing their colonies to the indigenous populations who wanted freedom, on 26 July 1965 an agreement was signed on behalf of the Sultan by Ibrahim Nasir Rannabandeyri Kilegefan, Prime Minister, and on behalf of the British government by Sir Michael Walker, British Ambassador-designate to the Maldive Islands, which formally ended the British authority on the defence and external affairs of the Maldives. The islands thus achieved independence, with the ceremony taking place at the British High Commissioner's Residence in Colombo. After this, the sultanate continued for another three years under Sir Muhammad Fareed Didi, who declared himself King upon independence.