The move - invoking temporary military rule - has been roundly condemned by opponents and some within his own party.