Match ends, Partick Thistle 1, Heart of Midlothian 1.
Championship strugglers Partick Thistle produced a spirited comeback to force a Scottish Cup quarter-final replay against Hearts.
Christophe Berra headed the Premiership side into an early lead as the visitors dominated at Firhill.
But Thistle, bottom of Scotland's second tier, salvaged the tie thanks to a second-half Christie Elliott strike.
The replay, to win a last-four date with Inverness Caley Thistle, will take place on Tuesday, 12 March.
Hearts, who exited at the quarter-final stage last season to Motherwell, controlled large chunks of the game with Sean Clare and Uche Ikpeazu going close.
Holders Celtic will take on either Aberdeen or Rangers in the other Hampden semi-final.
Beacon of hope for Thistle
On the face of it, this was a shot at nothing for Thistle. Playing a team from the division above with little pressure from outside of Firhill, the team from the Championship should have gone in to this one with nothing to fear.
However, Gary Caldwell's side were timid in their approach to toppling Craig Levein's Hearts.
Within the first minute Berra turned a header wide in an early warning. Still, they sat deep, allowing their visitors to attack, and they paid the price.
Ben Garuccio's lofted ball into the box caught Thistle napping as Berra outjumped Steven Saunders to thump a header high into the net.
There was little response from Caldwell's side, who failed to step up and try to get back into the match as Hearts coasted towards half-time.
After the break, it was much the same in the opening stages as a large home support tried to urge their side forward.
Instead, their hearts would have been in their mouths as Levein's men went inches from what would have been a decisive second.
A Clare shot was acrobatically tipped on to the frame of the goal from the angle by Conor Hazard. Ikpeazu reacted first to the rebound. He headed the ball in the air, before then diverting his next header on to the bar and over.
With the writing on the wall for Thistle, from nowhere they got the goal that almost took the roof off the Jackie Husband stand.
It came just three minutes after that scare at the other end. Craig Slater drove for the line on the left to swing in a perfect ball across goal. Elliott met it at the back post in what was Thistle's first meaningful chance of the game, smashing in his second goal of the season.
Ikpeazu went down in the box following Gary Harkins' challenge but no penalty was awarded by referee Bobby Madden.
Both sides will need to up their game - analysis
BBC Sport Scotland's Jane Lewis at Firhill
Hearts should have already secured their semi-final place. They were the better team tonight, and while Partick Thistle's goal was well taken, they offered little on the night.
Hearts were guilty too at times, and striker Uche Ikpeazu cut a frustrated figure as he picked up his man-of-the-match bottle of fizz, admitting they should have finished the job.
With Inverness Caledonian Thistle awaiting the winners in the semi-finals, the incentive, as if one was needed, is massive for both teams having avoided Aberdeen, Rangers and Celtic.
Hearts will be overwhelming favourites for the replay on Tuesday week, the Championship basement club will have to show great improvement if they're to progress. Hearts though, on tonight's evidence, will also have to up their game.
- 31McMillanSubstituted forStoreyat 75'minutes
- 5AndersonBooked at 47mins
- 7SpittalSubstituted forMcGintyat 87'minutesBooked at 90mins
- 21FitzpatrickSubstituted forCardleat 70'minutesBooked at 90mins
- 18MacLeanSubstituted forMulraneyat 81'minutes
- Bobby Madden
- Shots on Target
Second Half ends, Partick Thistle 1, Heart of Midlothian 1.
Attempt missed. Craig Slater (Partick Thistle) right footed shot from outside the box is high and wide to the right.
Joe Cardle (Partick Thistle) is shown the yellow card for a bad foul.
Sean McGinty (Partick Thistle) is shown the yellow card for a bad foul.
Foul by Sean McGinty (Partick Thistle).
Ben Garuccio (Heart of Midlothian) wins a free kick in the defensive half.
Gary Harkins (Partick Thistle) wins a free kick in the defensive half.
Foul by Sean Clare (Heart of Midlothian).
Attempt saved. Craig Slater (Partick Thistle) left footed shot from outside the box is saved in the bottom right corner.
Substitution, Partick Thistle. Sean McGinty replaces Blair Spittal.
Foul by Miles Storey (Partick Thistle).
Djoum (Heart of Midlothian) wins a free kick on the right wing.
Foul by Djoum (Heart of Midlothian).
Gary Harkins (Partick Thistle) wins a free kick in the attacking half.
Foul by Steven Saunders (Partick Thistle).
Uche Ikpeazu (Heart of Midlothian) wins a free kick in the attacking half.
Attempt missed. Uche Ikpeazu (Heart of Midlothian) right footed shot from outside the box is close, but misses the top right corner.
Substitution, Heart of Midlothian. Jake Mulraney replaces Steven MacLean.
Corner, Heart of Midlothian. Conceded by Craig Slater.