Since May 2014 Thailand has been ruled by a military junta, the National Council for Peace and Order, which has partially repealed the 2007 constitution, declared martial law and nationwide curfew, banned political gatherings, arrested and detained politicians and anti-coup activists, imposed internet censorship and taken control of the media.