The government of Ukraine led by Prime Minister Arseniy Yatsenyuk survived a no-confidence vote after President Petro Poroshenko asked him to resign. According to the president, the Yatsenyuk lost the support of the coalition and the country’s trust.

The call for no confidence voting reflected the political tensions and economic problems which scraped away the confidence of the coalition off Yatsenyuk. But the results, despite strong disapproval from most MPs, showed that they believed voting out the prime minister would lead to the dissolution of the ruling coalition and an early election thereafter.

The president urged the prime minister to step down and make way for a new government.

“The tension between the government and the factions has become so high that it poses a threat to the coalition’s functioning,” the Guardian quoted Poroshenko as saying in a statement.

Yatsenyuk defended the performance of his government in a debate saying “hatred and anger are not emotions which should unite the political class.”

To pass the no-confidence motion, 224 votes were required. However, only 194 out of 339 MPs supported it, which means that the government is out of danger until the next session of the parliament starting come September.

The decision was announced a short while after the lawmakers voted the cabinet’s performance in 2015 as unsatisfactory.

Earlier in a speech to the parliament, the prime minister said that his government has done all that it could under the demanding circumstances.

“We have built the foundations for a new country. Let’s build a new Ukraine: do not stop. Reforms are the only way forward,” the BBC quoted him as saying.

During Tuesday’s sessions, a large number of demonstrators had gathered outside the parliament protesting against the government’s policies.

Yatsenyuk came to power after the country’s Russia-friendly leader was removed in February 2014 following massive protests. Whereas, Poroshenko was elected much later with great support, even from the western leaders.