Nasheed resigned on 7 February 2012 following weeks of protests after he ordered the military to arrest Abdulla Mohamed, the Chief Justice of the Criminal Court, on 16 January. Maldives police joined the protesters after refusing to use force on them and took over the state-owned television station forcibly switching the broadcast opposition party leader Maumoon Abdul Gayoom's call for people to come out to protest. The Maldives Army then clashed with police and other protesters who were with the police. All this time no one of the protester tried to invade any security facility including headquarters of MNDF. The Chief Justice was released from detention after Nasheed resigned from his post.