Original: The resignation was considered a "surprise", and both pundits and opposition politicians labeled it "an overreaction".
Simplified: The resignation was considered a "surprise".