Bertie Ahern will step down as Ireland's prime minister on May 6 to fight corruption allegations that have dogged his final term in office and risk tarnishing his legacy of helping deliver peace in Northern Ireland.

With little change expected in overall policy direction, the first task facing his likely successor, Finance Minister and fellow Fianna Fail party member Brian Cowen, will be to secure a "yes" vote in a referendum when Irish voters will determine the fate of the EU's reform treaty.

The treaty replaces a constitution rejected by French and Dutch voters in 2005 and some EU diplomats had feared revelations at an inquiry looking into Mr Ahern's finances would make it harder for him to persuade people to back it.

"He believes we have to refocus our energies on the important poll that now has to take place in early June for the Lisbon treaty," Justice Minister Brian Lenihan told RTE. "It is very important for Ireland that we get a yes vote."

An emotional Ahern said earlier he had done nothing wrong but would leave only a year after winning a historic third term so his government could focus on running the country.

"It is a matter of real concern to me that the important work of government and party is now being over shadowed by issues relating to me," Mr Ahern, flanked by cabinet colleagues, told a hastily assembled televised news conference.

"I know in my heart of hearts I have done nothing wrong."

Among Mr Ahern's final duties will be a trip to the US to address a joint session of Congress on April 30.

One of Europe's longest serving premiers after almost 11 years, Mr Ahern had previously said this would be his last term in office but he did not intend to go until it ended in 2012.

Widely praised for his work with former British Prime Minister Tony Blair and US President Bill Clinton in ending conflict in Northern Ireland, Bertie Ahern's star has been on the wane after revelations he received money from businessmen.

Tony Blair described Bertie Ahern and his record as remarkable.

"He will always be remembered for his crucial role in bringing about peace in Northern Ireland," Mr Blair said.

Both men have been tipped as potential future EU presidents - a role envisaged under the new treaty.

Gerry Adams, leader of Sinn Fein, the political ally of the now disarmed Irish Republican Army, said Mr Ahern had done the right thing in deciding to go.

"The position was becoming increasingly untenable and the main focus of politics was around his finances."

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.