KIEV: Ukraine’s Parliament on Thursday appointed pro-western speaker Volodymyr Groysman as prime minister in a bid to end months of political gridlock and unlock vital aid to the war torn-state.

Lawmakers voted by 257 to 50 to approve the resignation of Prime Minister Arseniy Yatsenyuk, condemned by President Petro Poroshenko for losing the public’s trust, and select Groysman in the first Cabinet overhaul since Ukraine’s 2014 pro-EU revolt.

“We have to end the crisis and ensure the permanence of our course toward European integration and the resumption of economic growth,” the 38-year-old Groysman told deputies shortly before the vote.

“We have to accelerate the pace of reforms. I would like to see this government restore the public’s trust.”

Poroshenko himself called Groysman “a politician from a new generation” who could tackle “the real possibility of Ukraine turning into a state of chaos.”

Groysman’s appointment comes with Ukraine embroiled in a pro-Russian separatist insurgency in the east that has claimed nearly 9,200 lives and suffering an economic meltdown that has erased people’s savings and saw inflation soar above 40 percent last year.

Ukraine’s youngest-ever premier will also have to demonstrate quick returns on a fight against corruption that has permeated all levels of government and was one of the factors behind three months of protests that brought down the Russian-backed leadership in February 2014.

The fast-rising new Cabinet chief is a lawyer by training who only two years ago served as mayor of the small western Ukrainian city of Vinnytsia and remained a relative unknown.