Ireland's Deputy PM Frances Fitzgerald said in a statement that she stepped down for the sake of the country, averting a snap general election.
Ireland's scandal-hit deputy prime minister resigned on Tuesday, averting a government collapse and potential snap election that had threatened to complicate Brexit talks next month between Britain and the European Union.
Opposition parties had demanded Frances Fitzgerald step down after the release of fresh documents about her disputed handling of a police whistleblower who alleged corruption in the force.
Fianna Fail, the main opposition party, which props up Fine Gael Prime Minister Leo Varadkar's minority government, said her resignation meant a December election would be avoided. It had warned it might force a snap poll if Fitzgerald refused to quit.
"Today I made the decision to tender my resignation to the Taoiseach (prime minister), stepping down with immediate effect," Fitzgerald said in a statement.
"I have decided on this occasion to put the national interest ahead of my own personal reputation. I believe it is necessary to take this decision to avoid an unwelcome and potentially destabilising general election at this historically critical time."
Varadkar also confirmed her resignation, saying ,"this morning, Frances Fitzgerald came to me to offer her resignation."
Ireland's political crisis exploded in the run-up to a key Brexit summit next month at which Varadkar is set to play a major role. He must tell fellow EU leaders whether he believes sufficient progress has been made on the future of the border between Ireland and the British province of Northern Ireland.
The border -- the only land frontier between Britain and the EU -- is one of three issues Brussels wants broadly resolved before it decides whether to move talks on Britain's divorce from the EU onto a second phase about trade, as Britain wants.
While Varadkar has likely avoided the prospect of having to travel to Brussels in a caretaker capacity, his handling of the crisis has badly damaged him, his governing Fine Gael party and relations with its Fianna Fail opponents.