President Abdulla Yameen declared a state of emergency Troops arrested the top judge of the country Former President Maumoon Abdul Gayoom detained at home