The draw for the 2019 edition of the African Cup of Nations took place next to the Pyramids of Giza in Cairo.
The 2019 edition features 24 teams, an increase from the previous 16.
Egypt, the tournament host, was drawn in Group A alongside the Democratic Republic of Congo, Uganda and Zimbabwe.
Defending champions Cameroon are in Group F with continental powerhouses Ghana, Benin and Guinea-Bissau.
Senegal, one of the tournament favorites and Africa’s top ranked team in FIFA, is in Group C with Algeria and East African countries, Kenya and Tanzania.
Group D, considered by many to be the toughest, features Morocco, Ivory Coast, South Africa and Namibia.
Nigeria was drawn in Group B with Guinea and AFCON debutantes Burundi and Madagascar.
The other third AFCON debutante, Mauritania, is in Group E along with Tunisia, Mali and Angola.
Egypt will play Zimbabwe in the opening game of the tournament on June 21 at Cairo Stadium.
The teams that finish first and second in each group and the four best teams that finish third will advance to the knockout stages.
The tournament is scheduled to take place between June 21 and July 19.