After dissolving the government and the Senate, the NCPO vested the executive and legislative powers in its leader and ordered the judicial branch to operate under its directives. In addition, it partially repealed the 2007 constitution, declared martial law and curfew nationwide, banned political gatherings, arrested and detained politicians and anti-coup activists, imposed internet censorship and took control of the media.