SOFIA (Reuters) - Bulgaria’s parliament on Friday overturned a presidential veto on anti-graft legislation, clearing the way for the creation of a special unit to investigate individuals occupying high public office as well as assets and conflicts of interest.

Last week Bulgarian President Rumen Radev vetoed the law, passed by parliament, saying the bill failed to offer the means to effectively investigate corruption networks.

Bulgaria has made scant progress towards stamping out graft and organized crime, and the European Commission, the EU’s executive, has repeatedly rebuked the Black Sea country for failing to prosecute and sentence allegedly corrupt officials.

Some analysts say the fact that the new unit’s management will be appointed by parliament means it might not be truly independent and could be used by those in power to persecute opponents.

But the motion to overrule the veto was passed by 146 votes in the 240-seat parliament, bringing together lawmakers from the ruling center-right GERB party, allies in the nationalist United Patriots formation and opposition deputies from the Movement for Rights and Freedoms and Volya. The Socialists voted against.

“Today, by rejecting the president’s veto, our country will fulfill a commitment to the European Commission,” GERB’s parliamentary group leader Tsvetan Tsvetanov told lawmakers.

The moves allows the government to pursue plans to focus on improving control and accountability of law-enforcement agencies to try to change opinions and clean the Balkan country’s tarnished image during its EU presidency.

Radev acted only a day after the European Union’s poorest country assumed the six-month, rotating presidency of the bloc for the first time since it joined the EU in 2007.

According to Transparency International, Bulgaria is the EU’s most corrupt country.

Corruption has deterred foreign investment since communism collapsed in Bulgaria in 1989, and the EU has kept Sofia as well as neighboring Romania - for the same rule-of-law failings - outside its Schengen zone of passport-free travel.

“The president’s veto was like the last chance to adjust your policy on corruption,” Kornelia Ninova, leader of the main opposition Socialist Party, said in parliament.

On Thursday several demonstrations, some with an anti-corruption theme, blocked Bulgarian capital Sofia as the country hosted official ceremonies for the start of its EU presidency.