The new measures follow the country 's worst civil unrest in almost 40 years .