<P> Japanese invasion during World War II ended British domination in Malaysia . The subsequent occupation of Malaya , North Borneo and Sarawak from 1942 to 1945 unleashed nationalism . In the Peninsula , the Malayan Communist Party took up arms against the British . A tough military response was needed to end the insurgency and bring about the establishment of an independent , multi-racial Federation of Malaya on 31 August 1957 . On 22 July 1963 , Sarawak was granted a self - governance . The following month on 31 August 1963 , both North Borneo and Singapore were also granted self - governance and all states began to formed Malaysia on 16 September 1963 . Approximately two years later , the Malaysian parliament passed a bill without the consent of signatory of Malaysia Agreement 1963 to separate Singapore from the Federation . A confrontation with Indonesia occurred in the early - 1960s . Race riots in 1969 led to the imposition of emergency rule , and a curtailment of political life and civil liberties which has never been fully reversed . Since 1970 the `` Barisan Nasional coalition '' headed by United Malays National Organisation ( UMNO ) has governed Malaysia until the </P>
<P> Japanese invasion during World War II ended British domination in Malaysia . The subsequent occupation of Malaya , North Borneo and Sarawak from 1942 to 1945 unleashed nationalism . In the Peninsula , the Malayan Communist Party took up arms against the British . A tough military response was needed to end the insurgency and bring about the establishment of an independent , multi-racial Federation of Malaya on 31 August 1957 . On 22 July 1963 , Sarawak was granted a self - governance . The following month on 31 August 1963 , both North Borneo and Singapore were also granted self - governance and all states began to formed Malaysia on 16 September 1963 . Approximately two years later , the Malaysian parliament passed a bill without the consent of signatory of Malaysia Agreement 1963 to separate Singapore from the Federation . A confrontation with Indonesia occurred in the early - 1960s . Race riots in 1969 led to the imposition of emergency rule , and a curtailment of political life and civil liberties which has never been fully reversed . Since 1970 the `` Barisan Nasional coalition '' headed by United Malays National Organisation ( UMNO ) has governed Malaysia until the </P>
when did malaysia gain independence from great britain
when did malaysia gain independence from great britain
31 August 1957
31 August 1957