Romanian Justice Minister Florin Iordache has resigned as the fallout from the corruption decree and subsequent protests continues.

But Mr Iordache, who had drawn up the bill, insisted that "all that I've done was legal".

European Commission Vice President Frans Timmermans has said after recent progress tackling corruption, Romania should not start "running in the other direction".

"I have chose to offer my resignation", Iordache told reporters on Thursday, adding that all of his initiatives were "legal and constitutional".

The decree would have decriminalised a number of graft offences and effectively shielded dozens of public officials from corruption allegations.

"The Ministry organised public debates for the projects and now they are part of parliament debates".

Minister of Justice, Florin Iordache, has announced about his resignation from the position of Minister of Justice. As you have seen, all the initiatives are legal and constitutional. "However, for the public opinion this was not enough, so I have made a decision to submit my resignation", he added. The Social Democrat Party leader Liviu Dragnea, now on trial in an abuse of office case, is one of those who could have benefitted from the decree.

Thousands of people took to the streets in Romania last week to express their discontent over amendments to the country's Criminal Code issued by the government. However, demonstrations across the country did not stop, with protesters as well as opposition parties led by the Liberals putting forward new demands for the government to step down.

The government easily survived a vote of no-confidence on Wednesday as it has a large parliamentary majority following an election in December.