 It was transformed into a Crown Colony, substituting state for company control through the Straits Settlement 1867.During World War II, it was occupied by the Japanese from 1942 to 1945.After the post-war dissolution of the Straits Settlements Penang and Malacca become crown colonies in the Federation of Malaya, while Singapore became a standalone crown colony, separate from Malaya.