 The new UPC-KY coalition led Uganda into independence in October 1962, with Obote as prime minister and the kabaka as head of state.Uganda achieved independence on 9 October 1962 with the Kabaka of Buganda, Sir Edward Mutesa II, as its first president.However, the monarchy of Buganda and much of its autonomy was revoked, along with that of the other four Ugandan kingdoms.