South Africa and Senegal played out a 1-1 draw here Thursday as both exited the 2008 Africa Nations Cup in the first round.
Both teams needed to win by a big score and at the same time hope the other Group D match between Angola and Tunisia produced a clear winner.
World Cup hosts in 2010 South Africa finished bottom of the standings with two points, the same as Senegal who enjoyed a better goals difference.
"We controlled things at the start of the game. The second half was an open game and we created many chances but failed to score again," said South Africa coach Carlos Alberto Parreira.
"We are not happy with the result as we did not win but we go home with some positives. This is a new team and my young players learnt a lot about football at this level.
"We will carry on with these players for the 2010 World Cup. In two years they would have gained the necessary experience to represent the country well at the World Cup."
Senegal coach Lamine Ndiaye said: "We did our best but unfortunately we are going home now."
South Africa went in front after 15 minutes through Elrio van Heerden before Senegal equalised in the 38th minute through Henri Camara.
Senegal dropped Bolton striker El Hadj Diouf, Tony Sylva and Ousmane Ndoye after they broke camp curfew and stayed up late at a popular Kumasi night club hours to this fixture while South Africa's Steven Pienaar failed to recover in time from an ankle injury he picked up in training.
Early exchanges between the two teams saw Sibusiso Zuma for South Africa and Henri Camara for Senegal come close to opening the scoring.
A mazy dribble run by Zuma after eight minutes was then cut short illegally by Souleymane Diawara at the edge of the box but Nasief Morris's effort from the resulting free kick flew wide off target.
South Africa's enterprise in attack was eventually rewarded in the 15th minute when Modise darted down the right and delivered a superb cross for Van Heerden to smash the ball into the net beyond goalkeeper Bouna Coundoul.
Zuma's grounder after 24 minutes was goal bound only for the Senegal goalkeeper to dive full length and clutch it by the near post as Bafana took control.
Senegal opted for the long ball delivered behind the South Africa defence with the hope their pacy forwards Camara, Diomansy Kamara or Mamadou Niang would get at the end of these balls and fire past goalkeeper Moneed Josephs.
The Teranga Lions stepped up the pressure going by the long-ball route and this tactic finally paid off in the 38th minute when Kamara produced a long thrust for Camara to punish a sloppy Aaron Mokeona for the equaliser.
The long ball by Senegal continued to trouble South Africa after the interval.
Tshabalala's scorcher on 54th minute hit the side-netting as the second half failed to come alive with action mostly in the middle of the pitch while, on the hour, Zuma forced a point-blank save from goalkeeper Bouna after he was let in by a fumble by Diawara inside the Senegal area.
South Africa squandered a great chance to retake the lead in the 75th minute but indecision on the part of the forwards when right inside the 18-yard box robbed.
Substitute Lerato Chabangu let fly a powerful shot from distance moments later which somehow the Senegal goalkeper pushed away for a corner.
Bouna repeated the heroics second later when he pushed away another South African shot at goal.