Boussoufa scores for Morocco to stun South Africa at the death
South Africa vs Morocco: live updates
Morocco go through as Group D winners, and the Ivory Coast, following their comfortable 4-1 victory over Namibia, join them in the last 16. Thank you for joining us for the game, and we'll be back with more before you know it.
There is little doubt that Morocco were the superior team although were far from their best this evening and a draw would have probably been the right result. But football, eh?
Bufana Bufana fought hard, had their moments, but eventually paid the price, just as things looked to have sorted themselves out for the benefit of both teams.
Game over. Morocco celebrate another win. South Africa were just seconds away from qualification but that late, late goal almost certainly kills their hope.
Morocco hold onto the ball in the opposition half. A half chance opens up for En-Nesyri but after he fails to take it the referee blows hard on his whistle.
Three minutes to be added.
Ziyech off for Faycal Fajr
Ahh, I can talk more about Ziyech, as he gets shirty with where he steps off the field for a late substitution.
We've not been able to talk enough about the talent of Ziyech tonight but he looks to change the headlines as he lines up a free-kick from about 25 yards out and central. Nope. Easily forgettable.
Williams had to be sharp off his line there to reach a worryingly short back pass. All fine in the end.
The play here has dropped a notch. Are both sides going to just see out a draw that would suit them both?
Boussoufa lying on the ground gives everyone a breather and a chance for me to tell you that Ivory Coast have scored a third. Zaha makes it 1-3.
Amrabat collects the ball high on the left side. As he tries to drop a shoulder to trick his way past Mkhize, he finds that the Cape Town lad is more than a match. He's done well tonight.
Another couple of changes | Mazraoui off for Nabil Dirar and Sibusiso Vilakazi on for Zwane.
The Leganés striker again getting involved, running into the right channel but muscled out before creating space to shoot.
Chance! On target header from En-Nesyri initially looked dangerous but due to the height, and angle the ball came to him, the effort was never going to trouble Williams.
Time for a South Africa change: Lars Veldwijk on for the disappointing Mothiba
A free-kick handed to Bufana after a trip from Ziyech. It's poorly played in, not even reaching the penalty box, and headed away spectacularly.
Chance! En-Nesyri does brilliant to reach the through ball ahead of the onrushing Williams, but then can't sort out his feet quick enough to get a clean hit towards goal.
The Lions have stepped up the pace here and when they do that South Africa struggling to stay with them. Baxter must be looking to his bench soon.
CLANG!! What a hit by Achraf from outside the area. The Real Madrid player (on loan at Dortmund) stepped on to the loose ball and let rip, only to see the right side of the bar denying him. Williams was never getting close.
That second goal in the other game could create some nervousness for Moroccan fans. If they end up losing this game, they could also lose top spot, potentially meaning a more challenging route through the tournament. Too early to start thinking about that yet, though.
Other game update | Ivory Coast with a second, Serey.
Immediately after me questioning their efforts, the Atlas Lions remember how to roar and create two decent chances following neat play in and around the opposition penalty area. En-Nesyri can only get a glanced header onto Achraf's cross.
Morocco can't get going in this second half. I'm not sure if that's more to do with their opponent not allowing them to, or just a drop in intensity knowing that a draw will keep them in first place in this group.
Slight delay in play as the first change is made, El Ahmadi not being able to run off his earlier knock, replaced by Youssef Ait Bennasser.
Tau puts in a beautiful cross from the corner but it's a Moroccan head that flicks it away. Did Baxter draw on his Scottish roots for a 'let's get in tae them!' half-time speech?
It's all Bufana Bufana, working the ball to the left and down into the channel before winning a corner.
Much better here from the green and yellows, the ball eventually falling to Mkhize who drills a rocket just wide of the right post, as Munir flies across his goal.
Bufana get control back again and work a decent opening that is then blocked and cleared.
South Africa start by going long, more in an attempt to avoid the press than planned thinking. Morocco take over.
Right, the teams are out...and we're off
Much more expected from Ajax star Hakim Ziyech from the Moroccan fans. If he can cause similar threats to Amrabat then South Africa could be in for a more tiring second period.
It's also worth pointing back to the poor offside decision in the sixth minute. En-Nesyri wrongly ruled off, when the assistant could have let VAR confirm once the one-on-one was concluded.
Bufana Bufana have shown enough to suggest they could cause some problems for Munir in the Moroccan goal, however, if Renard can remind his Lions about the sharpness further forward, I'd fully expect Morocco to take all three points, possibly by a couple of goals.
That said, when they have got themselves into those promising areas, the final pass - whether the decision-making or its execution - has often been poor.
For me, Morocco have edged the game so far: controlling more of the play, getting into more threatening positions, and generally limiting what their opponents have been able to do...
As the water sprinklers give the grass a much-needed drink, and the managers give their respective players their own tactical nourishment, let's look back on that first 45...
How the table stands at the break, that goal for Gradel putting Ivory Coast a couple of points above South Africa.
Final chance of the half goes to South Africa but, in what is a good representation of the game so far, the final pass is overhit and runs through to Munir.
Two minutes added.
Impressive pace shown there by Da Costa, chasing down a long Williams pass.
A period of play for Morocco comes to an end with another misplaced pass. Renard will be expecting improvement in that aspect after the break.
Other game update | Ivory Coast have taken the lead against Namibia. Gradel with the goal.
Da Costa gives away a free-kick in his own half and it's another chance to flood the area for Bufana Bufana. Nothing comes of it as the defence comfortably clear.
Amrabat again collects wide, and lifts a cross towards the centre of the area. The ball takes a firm glance off the closing defender and, fortunately for Williams, is dirrected straight towards him.
The Lions now cause some problems. First Amrabat's lovely cross is just out of reach of En-Nesyri in the area, then as the clearance drops onto the 18-yard line, Belhanda hits a sweet volley which Williams holds well.
Close! A strike from the edge of the Moroccan box from Tau has Baxter with his hands on his head. It whistles just wide of Munir's far post.
Chance for Boussoufa to swing one in from the free-kick but again it's dealt with well, Mothiba clearing.
Another card, this time for Zungu
Morocco are showing again, when on the ball and in terms of organisation, that Renard could have another title to celebrate. In saying that, there's is a lack of precision when they reach the final third, with little being created.
Free-kick to Bufana and a chance to send men forward. The delivery is high to the back post where Hlatshwayo tries to get above his covering player. He does, but heads well over.
Foul given against En-Nesyri for pushing, followed by one against Mothiba. There have been a number of niggly fouls, mainly due to both sides working hard to close any play down.
Belhanda creates his own space on the edge of the area but is then quickly closed down as he gets his shot away. The ball actually being blocked by the referee who couldn't get out of the situation.
Morocco appear to have a serious focus on this game, with no sign of playing out for a draw. Their white shirts are hunting in packs to win the ball back quickly, and the passing to make space is fast.
Nice play again from the Atlas Lions down the left. The passing ends with Achraf being sent running into the green space ahead of him and deliver an outswinger off the outside of his right boot, which is collected too easily by Williams in goal.
First card of the game goes against Zwane after he brings down Boussoufa.
It's a high ball in but Williams runs out and punches clear with two fists.
Morocco clear from the corner and then work their way forward. Amrabat is yanked down by Zungu halfway inside the South Africa half giving a chance to deliver into the danger area.
Chance! Lovely play from Bufana Bufana has English coach Stuart Baxter clapping on the sidelines. Sharp passing on the edge of the Morocco area, including a clever dummy, is stopped with a last ditch tackle. Promising.
Zwane fouls Mazraoui and there is a brief stoppage in a game that is being played at a decent pace.
Amrabat and Achraf causing problems down the left. This could be a good area to be exploited.
What are you up to linesman?! En-Nesyri is sent free from a high South African line but the flag goes up. At first glance it looked wrong, and a replay confirms this. If you're using VAR, surely you let the play go when it's a close call. (If you disagree add a comment above)
Nice move down the left wing from Morocco. Amrabat, who impressed in the last game, breaks away from the defence and curls in a low cross off his left foot. Williams collects. This game is slowly coming to life.
Oh dear! What initially looked like a clever move from Percy Tau, a one-two with his teammate coming short, the return pass comes too quickly for him to get back onside. Silly
Bufana get the first real chance to make something happen, a corner on the right.
It's South Africa that get the first few touches of the ball in the middle of the park, before giving it away as they edge further forward. Morocco then go more direct and hand the ball back to their opponents.
Ndala Ngambo from the Congo is in charge of this one. He and his supporting officials shake hands with the captains, big smiles all round, and we're ready to hear the whistle to get things going.
It's almost time for the action. Anthems being belted out with gusto by most players and fans, although others are choosing to stay quiet, hand proudly on their chest.
Bufana welcome back Williams and Mokotjo and Serero takes his place for the first time in the tournament. Good to see too that Mkhize has recovered in time.
South Africa XI: Williams, Mkhize, Mkhwanazi, Hlatshwayo, Hlanti, Mokotjo, Zungu, Zwane, Serero, Tau, Mothiba
Morocco XI: Munir: Mazraoui, Da Costa, Saiss, Hakimi; El Ahmadi, Boussoufa; Ziyech, Belhanda, Amrabat; En Nesyri
It's a hot evening in Cairo so it will be interesting to see how that affects the flow of the game. The other factor in the likely intensity could well be impacted by how the scoring is managed between the teams. Bufana Bufana know that a draw will secure their passage into the next round, which is clearly also all that Morocco need to maintain top spot. Could we see them play that out?
Things are neatly poised as we reach the climax of this group, with plenty at stake for all four sides. Morocco sit top on 6 points, while their opponents and Ivory Coast both have three. Namibia, who are involved in that other game, have two losses to their name.
Welcome to our live minute-by-minute coverage of the match between South Africa and Morocco, the final Group B game in the Africa Cup of Nations 2019. Stay with us and we'll keep you across all the action as it happens, as well as plenty reaction...