Finland's president is out. And so is his cabinet. And everyone else at the top of the government.

Prime Minister Juha Sipilä, who's led the country since 2015, resigned Friday after his package of health care and other welfare programs flopped. His entire cabinet quickly followed suit, though President Sauli Niinistö and the rest of the cabinet will stay in their jobs until next month's election, BBC reports.

Sipilä introduced the massive social welfare overhaul in an attempt to save the country an estimated $3.4 billion over the next decade, The Wall Street Journal notes. Finland's population is aging, and without these economic reforms, Sipilä told reporters Friday that "there is no other way for Finland to succeed." But Finland's parliament disagreed, voting down the package and saying it was unconstitutional. Sipilä accepted "responsibility" for the defeat, saying his "government works on a 'result or out' principle," Reuters reports.

The center-right party's reforms included condensing the 295 municipalities that currently oversee welfare programs into 18 elected authorities. It also would let citizens choose between public and private health care providers, channeling nearby Sweden's system.

Sipilä's resignation comes just a month before the country's scheduled April 14 election. The country has been facing a harsh economic outlook for years, and Sipilä promised to use his entrepreneurial background to turn it around. Kathryn Krawczyk