Postpublished at 21:30 British Summer Time 26 September 2018
Closing stages now and there are three sides in front. As things stand, Celtic, Hearts and Rangers are joining Aberdeen in the semi-final draw to be conducted later.
Aberdeen v Rangers & Hearts v Celtic in last four
One semi-final could be played at Murrayfield
St Johnstone 0-1 Celtic; Rangers 4-0 Ayr; Hearts 4-2 Motherwell
GET INVOLVED #bbcsportscot
Andy Campbell
Closing stages now and there are three sides in front. As things stand, Celtic, Hearts and Rangers are joining Aberdeen in the semi-final draw to be conducted later.
St Johnstone 0-1 Celtic
Billy Dodds
Former Scotland striker on Sportsound
It was Leigh Griffiths' hardest chance. It was the one time Richard Foster switched off and was caught ball watching - Kieran Tierney gets beyond him and puts in a lovely cross.
It drops to Griffiths, it's on his weaker right foot, but he smashes it low into the net.
Olly Lee
With just two minutes to go, Olly Lee gets to the ball inside the box and finds the left hand side.
Hearts 2-2 Motherwell
Brian McLauchlin
BBC Sport Scotland at Tynecastle
Just when you thought Hearts were going to score a third and kill the game BANG! What a finish by Ryan Bowman.
Hearts 2-2 Motherwell
A good chance for Hearts. Steven Naismith makes a run, cuts inside and places the ball into the path of Arnaud Djoum who should hit the target, but he screws his shot well wide.
Leigh Griffiths
Celtic eventually get the breakthrough.
James Forrest's header from Kieran Tierney's cross is blocked by Scott Tanser but Leigh Griffiths picks up the rebound and slips the ball past Zander Clark.
Hearts 2-2 Motherwell
Allan Preston
BBC Scotland summariser
It was a brilliant goal. Long kick out from Zdenek Zlamal, a header back from Motherwell goes 30-40 yards and Ryan Bowman's on to it like a flash. Zlamal had no chance - right into the top corner.
St Johnstone 0-0 Celtic
Yet more Celtic pressure ends with James Forrest's shot deflected wide of the St Johnstone goal.
Ryan Bowman
What a goal from Ryan Bowman. The ball drops over his shoulder, and he smashes the ball from the 18 yard line, and Motherwell are back on level terms.
St Johnstone 0-0 Celtic
Tom Rogic's shot comes off Celtic team-mate Mikael Lustig and the deflection diverts the ball wide.
St Johnstone 0-0 Celtic
More frustration for Celtic as Leigh Griffiths' header flashes across the face of goal.
Tom Rogic replaces Callum McGregor for the visitors.
St Johnstone 0-0 Celtic
David Wotherspoon cuts in from the right and swerves a left-foot shot wide of the Celtic goal.
St Johnstone 0-0 Celtic
Leigh Griffiths latches on to a loose ball and looks certain to score but his low shot is blocked by St Johnstone goalkeeper Zander Clark.
Hearts 2-1 Motherwell
Tempers are fraying in the dugout. Manager Craig Levein and Stephen Robinson are both in amongst it. Fortunately there are no casualties and play gets back under way.
Meanwhile, Hearts' Callumn Morrison appears to have done his hamstring, but is remaining on the pitch.
Glenn Middleton
Second goal of the evening for Glenn Middleton. The 18-year-old picks up possession from Andy Halliday, powers past his marker and nets number four.
St Johnstone 0-0 Celtic
Lewis Morgan makes an early impact off the bench for Celtic, firing just over the St Johnstone goal.
St Johnstone 0-0 Celtic
Brendan Rodgers makes a change to his Celtic team. Odsonne Edouard makes way and on comes Lewis Morgan.
St Johnstone withdraw Drey Wright and introduce Danny Swanson.
Hearts 2-1 Motherwell
Allan Preston
BBC Scotland summariser
It's been coming. The pressure's been relentless in this second half, Motherwell are being hemmed deep in their own half. Haring slides in to meet the ball across the face at the back post.
Peter Haring
The goal was coming. Peter Haring had a chance a minute ago, and this time he slides in at the back post to nudge Hearts ahead.
Hearts 1-1 Motherwell
It's a great ball into the box from Callumn Morrison, and Peter Haring goes very close with a header.
Motherwell cannot get out of their own half at the moment.