Malaysia was formed in 1963 out of a number of former British colonies: the Federation of Malaya (comprising 11 states), which had achieved independence in 1957; Singapore, which had been self-governing since 1959; and two territories in northwestern Borneo, Sarawak and Sabah (then known as North Borneo), which by 1960 were well advanced on the road to independence.