Ukraine’s parliament voted to reject Prime Minister Volodymyr Groysman’s resignation on Thursday, with the largest faction arguing his resignation would lead to “chaos” before a snap election due in July.

Groysman had resigned after the inauguration of President Volodymyr Zelenskiy, saying Zelenskiy had turned down his overtures for cooperation. Zelenskiy has called a snap election for July 21, which his party is expected to win.