Mick McCarthy has been reappointed as Republic of Ireland manager on a two-year contract, the Football Association of Ireland has announced.
McCarthy, who previously left the role in the wake of the 2002 World Cup, has been tasked with securing qualification for Euro 2020 - when four games will be held in Dublin.
The FAI also confirmed Stephen Kenny's appointment as Under-21 coach, with the intention of him succeeding McCarthy after the 2020 finals.
McCarthy said: "I'm honoured and excited to be back with the Republic of Ireland. I am delighted that the FAI Board and CEO have given me this opportunity to lead the team to EURO 2020."
McCarthy, who will be joined by his long-time assistant Terry Connor, has been out of a job since electing to leave Championship side Ipswich in April.
He added: "I have been involved in club football for the last 15 years, so this will be a new challenge but one that I know well.
"I'm delighted to have Terry Connor, a trusted colleague and excellent coach, and Robbie Keane, one of the finest players who I had the pleasure of managing, helping me as assistant coaches.
"I am looking forward to getting started and embracing this challenge to qualify for Euro 2020, where it would be fantastic to play in front of the Ireland supporters (at the) Aviva Stadium."
Mick McCarthy has revealed he would "love" to manage again in the Premier League - but has admitted an untimely trip to Sunderland started some gossip about a return to the Black Cats.
The 59-year-old, who left Championship side Ipswich last month, was travelling on a train to pick up a car in Sunderland the day after Chris Coleman left the club.
McCarthy was spotted by a train worker, who saw an opportunity to make a bit of money.
"The cleaner saw me and did a double take," McCarthy told the Danny Baker Show on Five Live.
"He said 'are you Mick McCarthy? You're after the Sunderland job aren't you?'.
"I said 'I'm not actually. I'm going to see a friend and pick a car up'.
"He said 'I don't believe you, you're going for the Sunderland job'. So he walked off and came back and said 'I've had 100 quid on at 11/8'."
McCarthy was also spotted in Sunderland by fans, and after posing for selfies, rumours started on social media that he would be returning to the club he left in 2006.