The Straits Settlements were collectively administered territories of the British East India Company in Southeast Asia. The Straits Settlements were established following the 1824 Anglo-Dutch Treaty and originally consisted of Penang, Singapore and Malacca. Its initial capital was in Penang but was shifted to Singapore in 1832. The Settlements became a British Crown Colony in 1867. Christmas Island, the Cocos Islands and Labuan were added to Singapore’s administration as dependencies in 1889, 1903 and 1906 respectively. When Penang and Malacca joined the Malayan Union in 1946, Singapore became a separate crown colony. The Australian administration then took over the control of Christmas Island and the Cocos Islands while Labuan remained a British colony until 1963 when it was ceded to Sabah.