FRANCEVILLE, Gabon (AP) -- Ghana advanced to the quarterfinals at the African Cup of Nations with a 1-1 tie against Guinea on Wednesday night, and Mali earned a berth in the final eight by rallying for a 2-1 win over Botswana.
Ghana (2-0-1), which only needed a point to progress as Group D winner, went ahead on Emmanuel Agyemang's volley in the 28th minute at Stade de Franceville. Guinea (1-1-1) tied the score in first-half stoppage time when Abdoul Razzagui Camara's attempted cross looped over goalkeeper Adam Kwarasey and into the far corner.
Guinea finished a man short after Mamadou Dioulde Bah was ejected in the 70th minute.
At Libreville, Mogakolodi Ngele put Botswana (0-3) ahead in the 50th minute, but Mali (2-1) came back on goals by Garra Dembele in the 56th minute and by Barcelona's Seydou Keita in the 74th.
In the quarterfinals, Zambia plays Sudan and Ivory Coast meets co-host Equatorial Guinea on Saturday at Bata. The following day in Libreville, Gabon hosts Mali and at Ghana faces Tunisia.