British rule came to an end on 9 December 1961. Elizabeth II, who had acceded to the British throne in 1952, continued to reign through the first year of Tanganyika's independence, but now distinctly as Queen of Tanganyika, represented by the governor general. Tanganyika also joined the British Commonwealth in 1961. On 9 December 1962, Tanganyika became a democratic republic under an executive president.