Egypt will host the African Nations Cup for a fifth time later this year, the Confederation of African Football (CAF) has confirmed.
The tournament needed a new host after Cameroon were stripped of the privilege in November because of slow preparations.
And Egypt beat off competition from South Africa in a vote held at a CAF executive committee meeting in Dakar on Tuesday.
The event will include 24 teams for the first time, an increase of eight from the 2017 edition, and runs from 15 June to 13 July, leaving Egypt with less than six months to prepare.
Egypt won the tournament the last time they hosted it in 2006, beating Ivory Coast 4-2 on penalties following a goalless draw.
The seven-time winners were also runners-up two years ago, losing 2-1 to Cameroon in Gabon.
Egypt has extensive football infrastructure, although in recent years attendances at local matches have been restricted because of security concerns following the Arab Spring revolution and Tahrir Square demonstrations in 2011.
The final round of qualifiers for the tournament will be held in March, with 14 nations, including the new hosts, having already sealed their place at the finals.