Iraq's parliament has voted to carry out a manual recount of votes cast in last month's legislative elections, amid allegations of widespread fraud.
MPs also replaced the leadership of the election commission and annulled the votes of overseas and displaced Iraqis.
On Tuesday, Prime Minister Haider al-Abadi warned that security agencies had evidence of "unprecedented" violations.
He said the main issue was with the electronic vote-counting machines that were used for the first time on 12 May.
It is unclear whether Wednesday's vote will affect the outcome of the election.
The official results gave 54 of the 328 seats in parliament to a nationalist alliance between the Shia Muslim cleric Moqtada Sadr, whose militia once fought US troops, and a number of mostly secular parties.
A bloc linked to Iranian-backed Shia paramilitaries that have battled the jihadist group Islamic State (IS) over the past four years came second with 47 seats, while Mr Abadi's alliance was third with 42 seats.
Mr Abadi told reporters on Tuesday that he had been in favour of accepting the result and working towards the formation of a new government, but that he changed his mind after studying a report by a committee comprising Iraq's security and anti-corruption chiefs.
"In the beginning I said: 'Let's keep going and let the commission deal with the violations.' There are violations each election, here and there."
"The committee has revealed dangerous things, honestly. Yes there may have been some violations by candidates but the election commission bears the largest share of the responsibility," he added.
The prime minister accused members of the Independent High Election Commission (IHEC) of "not taking the needed measures or taking wrong ones", including failing to check the vote-counting machines for errors.
He banned high-ranking IHEC officials from travelling abroad without his approval and said criminal charges might be brought against some individuals.
There was no immediate reaction to Wednesday's parliamentary vote from the IHEC, but it has previously denied that there were widespread irregularities.
The election, the first held since the government declared victory over IS in December, saw a low turnout of 44.5% - much lower than in previous polls.