1 of 9
Themba Hadebe, Associated Press
Ghana's goalkeeper Larsen Kwarasey reacts after a teammate scored a goal during their African Cup of Nations Group D soccer match against Tunisia at the Stade de Franceville in Franceville, Gabon, Sunday Feb. 5, 2012.

FRANCEVILLE, Gabon — Ghana advanced to the African Cup of Nations semifinals by beating Tunisia 2-1 on Sunday following goalkeeper Aymen Mathlouthi's dreadful mistake in extra time.

Mathlouthi dropped a seemingly harmless cross to allow Andre Ayew to poke home the winner in the 101st minute and see Ghana through a tense quarterfinal and into a last-four meeting with Zambia.

Recalled Ghana captain John Mensah headed his team in front in the 10th minute at Stade de Franceville, but Saber Khalifa put Tunisia level in the 42nd with a header after a cross by Zouhaier Dhaouadi.

Tunisia defender Aymen Abdennour was sent off late on for an elbow on Ayew in a bad-tempered finish.

Ivory Coast will play Mali in the other semifinal.