 In reaction to the assassination of a Jaffna police inspector, the Jayewardene government declared an emergency and dispatched troops, who were given an unrealistic six months to eradicate the terrorist threat.The government passed the Prevention of Terrorism (Temporary Provisions) Act in 1979.The act was enacted as a temporary measure, but it later became permanent legislation.