The Federation of Malaya Independence Act 1957 (1957 c. 60 5 and 6 Eliz 2) was an Act of Parliament in the United Kingdom. It came into operation on 31 July 1957. The Act made provisions for the nation of Federation of Malaya (formerly the Protected States of Johor, Kedah, Kelantan, Negeri Sembilan, Pahang, Perak, Perlis, Selangor, and Terengganu) and the Settlements of Penang and Malacca to gain an independent sovereign country within and become a member of the Commonwealth of Nations on 31 August 1957; prior to this, Federation of Malaya (formerly Malay States) had been a fully self-governing British colony.