Issam El Adoua's second-half header rescued a 1-1 draw for Morocco against South Africa at the Stade d'Agadir.
Tokelo Rantie had silenced the home fans inside the first 10 minutes with a calm finish after a surging run from his own half to give Gordon Igesund's visitors the perfect start.
However, South Africa were unable to build on that advantage, as El Adoua restored parity shortly after the restart.
South Africa had goalkeeper Itumeleng Khune to thank for keeping the scores level in the early stages, as he produced a superb reflex save to deny Youssef El-Arabi's strong header, before the visitors made the breakthrough in the ninth minute.
Rantie found space and raced clear of the Moroccan defence, showing superb composure to coolly slot beyond Mohamed Amsif.
Morocco sought an immediate response and Mehdi Benaita almost levelled from close range soon afterwards, but Khune was once again equal to the task to maintain South Africa's lead.
And they should have been 2-0 ahead four minutes before the break when Sibusiso Vilakazi went through one-on-one, only to see his effort parried away by the goalkeeper.
Morocco punished that missed opportunity five minutes after half-time as Younes Belhanda launched a free-kick into the box where El Adoua was on hand to glance home the equaliser.
That goal brought about a lull in proceedings, although Fulham midfielder Adel Taarabt forced a block from the South African defence.
And the hosts went even closer when Torino's on-loan Napoli midfielder Omar El Kaddouri shot wide from inside the box after brilliant approach play.
South Africa almost made them pay for their profligacy when Ayanda Patosi shot narrowly wide from 20 yards with time running out, but neither side could find a late winner.
|I. El Adoua||50'|
|O. El Kaddouri|
|Coach: R. Taoussi|
for M. Obbadi 46'
for O. El Kaddouri 46'
for A. Noussir 46'
for Y. Belhanda 74'
for A. Barrada 80'
for M. Benatia 80'
|Allardyce upbeat despite defeat|
|Van Dijk happy at Celtic - Deila|
|Table-topping Chelsea delight Mourinho|
|Chelsea 2 West Ham 0: Mourinho´s men ease to victory|
|Suarez enjoying Messi, Neymar link-up|
|A-League Review: Garcia rescues point for Perth, Adelaide up to second|
|Poyet calls for mid-season break|
|Van Gaal rules out Januzaj move|
|Rodgers: Balotelli may have to get used to bench|
|Lallana: I was trying too hard|
|Pardew braced for Old Trafford test|
|Adriano announces Le Havre deal|
|Song to face ´brother from another mother´ Fabregas|
|Walker juggles music, football careers in Sweden|
|Lescott unfazed by City reunion|
|Tskhadadze appointed Georgia coach|
|United to finish top three - Ferdinand|
|Allardyce: Stamford Bridge stalemate saved my job|
|Southampton need three January signings, says Watson|
|Liverpool can make Champions League, says fanzine editor|
|Walsh: Hull clash crucial for Leicester|
|Toure, Aubameyang and Enyeama make shortlist for African gong|
|Docherty backs Chelsea to win two-horse race|
|Liverpool could benefit from Hyypia influence - Scales|
|Saudi Arabia name Asian Cup squad|
|Forty-year-old Cahill no problem for Postecoglou|
|Wenger criticism baffles Redknapp|
|Leicester must strengthen in window - Walsh|
|United not title contenders - Docherty|
|Koeman: Southampton youngsters will get a chance|
|Dyche empathises with Liverpool striker crisis|
|Cagliari turn to Zola|
|Rooney thanks Van Gaal for Christmas break|
|Cruzeiro offer Paulinho Tottenham exit chance|
|Carlisle´s wife grateful to Burnley|
|Katebe called up to Zambia AFCON squad|
|Cape Verde name AFCON squad|
|Finke names much-changed Cameroon squad|
|Grant omits World Cup troublemakers for AFCON|
|Blackpool striker Ranger goes AWOL|
|Allardyce relishing Mourinho meeting|
|Ashley fails to increase Rangers stake|
|Crystal Palace v Southampton: Koeman calls for focus|
|Warnock targeting striker in January|
|Chelsea v West Ham: Adrian vows visitors will attack|
|Heskey signs short-term deal at Bolton|
|Everton v Stoke City: Martinez eyes strong form|
|Juninho defends David Luiz|
|Burnley v Liverpool: Dyche defends Rodgers ahead of Turf Moor test|
|Arsenal v QPR: Wenger eyes festive momentum|
|Liverpool are growing in confidence, says Rodgers|
|Redknapp: Austin future could depend on survival|
|Martinez wants Everton consistency|
|Barca want Neymar until 2020, says agent|
|Jones undeterred by pressure of Liverpool starting role|
|Allardyce ´knows how to beat managers´ - Carroll|
|Jones playing for a new contract|
|China select Evergrande spine for Asian Cup|
|A-League Preview: Koren tips City to build|
|Khedira keen to fight for Real spot|