Opposition lawmakers say the move is a coup d’etat while the president has called for new elections.