The Colony of Singapore was a Crown colony of the United Kingdom that encompassed what is modern-day Singapore from 1946 to 1959. During this period, Christmas Island, the Cocos (Keeling) Islands, and Labuan were also administered from Singapore. Singapore had previously been established as a British colony since 1824, and had been governed as part of the Straits Settlements since 1826. The colony was created when the Straits Settlements was dissolved shortly after the Japanese occupation of Singapore ended in 1945. The power of the British Government was vested in the governor of Singapore. The colony eventually gained partial internal self-governance in 1955, and lasted until the establishment of the State of Singapore in 1958, with full internal self-governance granted in 1959.
After a few years of self-governance, Singapore went on to merge with Malaya, Sarawak and North Borneo (Sabah) to form Malaysia on 16 September 1963, thereby completely ending 144 years of British rule in Singapore. Due to differing views in dealing with political, economic and racial issues, Singapore would eventually cease to be a part of Malaysia and become an independent sovereign country on 9 August 1965.