On 22 May 2014 the military took control of government. Martial law was in place across Thailand until 1 April 2015 when it was lifted from all areas except the southern provinces of Pattani, Yala and Narathiwat, the Sadao district of Songkhla province and some border areas.