BUCHAREST (Reuters) - Romania’s parliament overwhelmingly endorsed a new Social Democrat-led government on Monday, giving Prime Minister Viorica Dancila a mandate that will be scrutinized closely by the country’s foreign partners and investors.

Slideshow ( 3 images )

Dancila was named prime minister earlier this month to replace Mihai Tudose, who quit after a falling out with the powerful leader of the Social Democrats, Liviu Dragnea. Tudose himself became prime minister when Dragnea forced out his predecessor, Sorin Grindeanu, last summer.

Dancila had to be approved in a vote of confidence, which she won easily on Monday - 282 legislators backed her, including some junior opposition groups . The new cabinet retains around a third of the former government’s ministers.

“This government, as a whole, does not bode well for the rule of law in Romania and its relations with the West, particularly with the European Union,” said independent political commentator Cristian Patrasconiu.

Dancila has set up a new ministry to handle European Union funds and nominated as its head Social Democrat lawmaker Rovana Plumb, whom anti-corruption prosecutors wanted to investigate. Her appointment has fueled renewed concerns about Romania’s commitment to seriously tackling graft.

Parliament rejected the prosecutors’ attempt to investigate Plumb, who denied any wrongdoing. But then-Prime Minister Tudose sacked her and two other ministers, saying graft allegations were damaging Romania’s relations with the EU.

On Monday, Prime Minister Dancila said her cabinet reflected the 2016 general elections. “Together with my colleagues, I do represent the political will of the ruling coalition,” she said.

“Today, you do not vote for persons but back Romanian citizens’ desire revealed by democracy. We will govern with pride and respect for Romanians, having the government program in front of us,” Dancila told parliament.

The revised governing program includes plans to further increase pensions and the minimum wage, cut value-added tax by one percentage point to 18 percent from 2019. It also aims to set up a sovereign wealth fund and boost the absorption of EU funds.

But leftist legislators aim to change the criminal code that would decriminalize several graft offences, their second attempt in a year to fight off a crackdown on corruption. Last week, Brussels urged parliament to reconsider earlier judicial reforms, which critics say weaken judicial independence.