Defending champions, Cote d’Ivoire have been drawn alongside Morocco, DR Congo and Togo in Group C of the 2017 African Cup of Nations.
The draw means there will be a re-union between the Ivorians and their former coach, Herve Renard, who led the country to Nations Cup success in 2015, and now handles Morocco.
Home nation, Gabon are in Group A with Guinea Bissau, Burkina Faso and Cameroon, while seven-time winners Egypt are in Group D with Ghana, Mali and Uganda.
Algeria, Senegal, Tunisia and Zimbabwe are in Group B.
The tournament kicks off on January 14 , with the final on 5 February.