The Hat Yai Treaty in 1989 marked the end of the 21-year Communist insurgency in Malaysia. It was signed and ratified by the Malayan Communist Party (MCP), and the Malaysian and Thailand governments in Hat Yai, 48 km from the Malaysian border, on 2 December 1989. Some 1200 guerrillas laid down their arms and returned to civilian life. A 41-year-old curfew was lifted across Malaysia in response.