A second half hat-trick from James Hainey saw Leith Athletic book an Alex Jack Cup semi-final with Craigroyston after recovering from the loss of a first-half Tynecastle goal.
Steve Vinter’s side took the lead after 34 minutes at Meadowbank 3G when Ryan Malcolm skipped away from the challenge of Grant Burns to fire a shot into the bottom corner past Ian Gordon.
John Ferguson and Lewis Martin both came close for Athletic, before Tynecastle felt they were denied a penalty claim at the start of the second half when Robbie McIntyre went down under a challenge from Gary Black.
Athletic equalised on 58 minutes when Hainey fired in from close range and he doubled his tally for the afternoon ten minutes later after Tynie keeper Ross McMullen failed to gather a loose ball inside the area.
Hainey completed his hat-trick soon after with another penalty-box finish which sees Athletic stretch their unbeaten run to seven games and takes them another step closer to retaining the trophy.
Tynecastle boss Vinter was encouraged but felt a few key decisions went against his team.
“I felt we were denied a strong penalty claim at the start of the second half, and we had an offside decision as well which I’d like to see again.”
In the other quarter-final tie, Ormiston were hit by two late goals from Eyemouth as they lost 2-1 at Recreation Park, Chris Robertson having put the hosts in front for his 11th goal of the season.
In the East of Scotland League, Spartans EOS returned to winning ways when coming from behind twice to beat Burntisland Shipyard 3-2 in Fife. Ger Rossi, Blair Atkinson and a Paul Dickson free-kick helped the Ainslie Park side to the three points.
Civil Service Strollers were 2-0 victors over Craigroyston at St Mark’s Park with Davy Stewart and Jonathan Watson on target for Alex Cunningham’s side. Heriot-Watt capped off their 70th Anniversary celebrations with a 3-2 win over Duns at Riccarton. Goals from Anton Dowds, Chris Donnelly and Neil Laurenson saw the students claim a second consecutive league win.