Got a TV Licence?

You need one to watch live TV on any channel or device, and BBC programmes on iPlayer. It’s the law.

Find out more
I don’t have a TV Licence.

Summary

  1. Mahrez and Bentaleb put Algeria in last eight
  2. FT: South Africa 1-2 Ghana
  3. South Africa led early on
  4. Late Ghana goal puts Ghana above Senegal and through

Live Reporting

By Luke Reddy and Andy Cryer

All times stated are UK

Get involved

Goodnight all

Thank you once again for your contributions today. We said it could be dramatic and boy was it.

Commiserations if you are a Senegal or South Africa fan. Enjoy the party if you follow one of Group C's success stories.

Tomorrow is another day where the permutations baffle, but we will pick our way though them so please come back at 17:30 GMT.

For now,

follow our Capital One Cup semi-final live text, plenty going on. Goodnight.

How's the nerves Avram?

The last time Ghana failed to make the knockout stages was 2006 but my word they were close then.

Avram Grant was all smiles on the pitch, remember this is his first tournament as manager of the Black Stars. Andre Ayew's contribution has spared blushes and probably instantly changed the perception of Grant's impact.

Andre the giant

Andre Ayew is perhaps an early contender for player of the tournament.

Andre Ayew
Getty Images

The Marseille player has played a hand in three of Ghana's four goals at this tournament, that is more than any other player at Afcon 2015.

Solid Algeria

John Bennett
John Bennett

The Desert Warriors will play their quarter-final on 1 February and their opponents will become clear tomorrow when Group D concludes.

You can keep up on Wednesday's games with us here from 17:30 GMT. Group D has four teams all currently on two points.

The final standings

So to be clear...

Group C
BBC

Andre Ayew's late goal put Ghana on six points, top of the pile. Had they not scored, they were out on four points due to their head-to-head record with Senegal.

Algeria eased to their win and six points. It all looks straight forward now but by heck it was not.

South Africa 1-2 Ghana

BBC Sport's Matthew Kenyon in Mongomo: Ghana go off to celebrate whilst Bafana Bafana sit in little groups on the pitch - looking a bit bewildered. The coaching crew led by Shakes Mashaba isn't with the players. They're having a little conference of their own on the touchline.

GET INVOLVED

Join the debate at #bbcafcon2015

St. Tropez: Talk about drama.

Festus Abrah-Yeboah: WOW! Amazing thriller but the tension is still on! Sitting at the edge of my seat.

FULL-TIME

Senegal 0-2 Algeria

Algeria
AFP

Make that four...

Farewell Senegal. Your wait for an Africa Cup of Nations title goes on.

FULL-TIME

South Africa 1-2 Ghana

Avram Grant's boys are through. Just! Brilliant stuff.

Senegal 0-2 Algeria

Algeria have been efficient and taken their chances well. You get the sense they have more to offer as we reach the business end of the tournament.

Their defensive line is on the six-yard box heading away desperate crosses. There is a glum look to faces on Senegal's bench.

South Africa 1-2 Ghana

South Africa are just playing for pride now but a goal would break Ghana hearts. Ghana have the ball though.

Senegal 0-2 Algeria

A late substitution to kill any Senegal momentum comes from the Algeria bench.

What a bizarre circumstance Senegal find themselves in. Four minutes of added time in this one. They will likely finish after South Africa, who they need to score.

South Africa 1-2 Ghana

Three minutes of injury time.

South Africa 1-2 Ghana

South Africa are going for this... A goal knocks Ghana out and puts Senegal through. Can they?

Going out in 11 different languages

South Africa 1-2 Ghana

South AFrica
Getty Images

Did you know? South Africa has 11 official languages: Afrikaans, English, Ndebele, Northern Sotho, Sotho, Swazi, Tswana, Tsonga, Venda, Xhosa, and Zulu.

In this regard it is third only to Bolivia and India in number. In a 2011 census, English was ranked as the fourth-most common.

International exports

Senegal 0-2 Algeria

Looks like this bunch will be on planes soon. Good news for clubs in Europe. Or have they got something more to offer?

Senegal
BBC

Senegal are praying for a South Africa goal now.

As it stands

BBC
BBC

Ghana are now topping Group C. A goal for South Africa though and Senegal qualify at the expense of Ghana.

We said this could be exciting...

GOAL

South Africa 1-2 Ghana - Andre Ayew

Incredible stuff as Andre Ayew heads Ghana into the lead. They are going through now at the expense of Senegal. What more drama can happen in the next six minutes?

GOAL

Senegal 0-2 Algeria - Nabil Bentaleb

This changes nothing for Senegal, their fate rests in the hands of Ghana in Mongomo. Algeria though are going into the quarter-finals.

Nabil Bentaleb is mobbed by his team mates. A shot from 25 yards whistles into the corner. A superbly clean striker and the keeper has absolutely no chance. Left footed, have some of that. All the way from Tottenham.

South Africa 1-1 Ghana

Andre Ayew
Getty Images

It is one-way traffic now as Ghana throw everything at the South African goal. Can they force their way through?

Latest standings

Algeria and Senegal still on course

So as things stand Algeria will top this group. Senegal will go through on head-to-head record as they beat Ghana 2-1.

That 93rd minute win is looking ever more priceless.

I hope you are finding this as chaotic as we are.

South Africa v Ghana (18:00 GMT)

South Africa
Getty Images

Ghana need to change that record if they want to go through...

South Africa 1-1 Ghana

BBC Sport's Matthew Kenyon in Mongomo: I'm sitting just level with the Ghana penalty area. Bafana Bafana fans - it's not looking good. I haven't seen any action right opposite me for about 15 minutes. SA strangely content with the 1-0 scoreline - which wouldn't have taken them through. And then Ghana scored.

CLOSE!

Senegal 0-1 Algeria

Senegal are leading a charmed life. A cross into the box is dropped by their goalkeeper and Algeria striker El Arbi Soudani volleys into and empty net...goal...no. Cleared off the line.

Kara Mbodj is the man in the way and his country will be thankful he somehow got himself in the line of fire. Chaos followed, a scramble and in the end a big boot down field.

HITS THE WOODWORK

South Africa 1-1 Ghana

Kwesi Appiah's low shot is turned onto the post by South Africa goalkeeper Nhlanhla Khuzwayo. Scenes here.

Senegal 0-1 Algeria

Senegal v Algeria
Reuters

Medhi Lacen of Spanish side Getafe replaces Yacine Brahimi. It looks like a heavy fall caused the problem for the Porto man.

That Ghana goal changes things again and the message has not been heard by players on the pitch yet.

GOAL

South Africa 1-1 Ghana

Ghana are back alive. John Boye turns inside the penalty area and fires the ball in from close range.

SUBSTITUTION

Senegal 0-1 Algeria

This man will be coming off. He has an injury of some kind and gestures to the bench for a replacement. A miss in the closing quarter for Algeria.

Yacine Brahimi
BBC

Dame N'Doye meets a delivery and heads over for Senegal. They are in a strange position here. Losing but still going through, while knowing another goal in the other fixture would prove catastrophic.

South Africa 1-0 Ghana

BBC Sport's Matthew Kenyon in Mongomo: It's getting tetchy as these two teams face an exit from the Nations Cup. South Africa conceding a lot of dangerous free kicks. The Black Stars are much more evident in this second half.

Big, vast and sandy

Senegal 0-1 Algeria

Desert in Algeria
Getty Images

Did you know? Algeria is the 10th-largest country in the world and 90% of it is desert.

In terms of square miles, it is almost four times bigger than the United Kingdom.

South Africa 1-0 Ghana

Both teams have to push for another goal here. A defeat sends Ghana out while Bafana Bafana need a goal to put them through still. A lull in the proceedings at the moment.

PENALTY APPEAL

Senegal 0-1 Algeria

Mane
Getty Images

White shirts aplenty wave forward as Senegal have a free-kick and you cannot argue with their ambition. This is positive and perhaps risky as they chase a crucial goal.

Mame Biram Diouf thinks he has been hard done by. Let's just say the rip in his shirt implies his marker got a bit heavy handed. A penalty shout but how often do we see them given? Not very.

Sadio Mane off, Dame N'Doye of Lokomotive Moscow is a handful and is on.

GET INVOLVED

Join the debate at #bbcafcon2015

Sadozaie: Hair cut? One name comes to mind Chamakh there wasn't there isn't there wont be any such bad taste!

Inspired by Asamoha Gyan, we are asking you for football's most bizarre hair cuts today. Tweet us your view on #bbcafcon2015.

South Africa 1-0 Ghana

South Africa v Ghana
Getty Images

Ghana are targeting a first Cup of Nations victory against South Africa as they bid to extend a record of reaching at least the semi-finals at each of the last four Nations Cups.

The Black Stars put an opening defeat to Senegal behind them when they beat Algeria thanks to a late goal from Gyan on his return from a bout of malaria.

At the moment, things are not going well for them...

CLOSE!

Senegal 0-1 Algeria

We almost had some big controversy there as the referee deflected an Algeria pass back to Senegal and only a slip from Sadio mane prevents him from levelling.

The Southampton man as eight yards out and ended up pulling the trigger while on the floor. Well wide but upright you' have fancied him heavily.

South Africa 1-0 Ghana

South Africa are defending heroically as they continue to repel Ghana's heavy pressure. This is desperate stuff from the Black Stars.

As it stands

BBC
BBC

Into the last 30 minutes in both matches and Algeria and Senegal are still both going through. Another South Africa goal changes everything though...

Senegal 0-1 Algeria

Brahimi
Getty Images

This is much better from Senegal. Pape Souare plays a neat one-two down the left and fizzes a ball across goal which needs good handling skills.

Bold claim here, I fancy a goal soon. They are building some momentum.

South Africa 1-0 Ghana

Ghana continue to push as Asamoah Gyan's cross is parried away by goalkeeper Nhlanhla Khuzwayo.