Dundee United missed out on a place in the William Hill Scottish Cup final after losing a penalty shootout to Hibs at Hampden.
Jason Cummings turned from zero to hero for the Hibees as he made up for a ridiculous earlier miss from the spot by scoring the winner in the decider.
Blair Spittal had stepped up first for United but saw his effort saved by stand-in goalkeeper Conrad Logan.
John McGinn made it 1-0 to the Easter Road men before Billy Mckay also had his strike saved by Logan.
Paul Hanlon converted for Hibs, Paul Dixon scored for United and Martin Boyle found the net too.
That meant Guy Demel had to score to keep United in it and he did but Cummings kept his cool to make it 4-2 to the Leith men and send them through to the final against either Rangers or Celtic on May 21.
The game itself finished goalless but the Tangerines had been on top in extra-time.
For all their possession, they just couldn’t get the goal they craved.
United had chances in the regulation 90 minutes, too, with Mckay twice failing to convert when one-on-one with Hibs goalie Conrad Logan.
However, the big talking point was the astonishing penalty miss from Easter Road striker Cummings on 29 minutes.
He tried to be clever by chipping the ball but looked daft when his woeful effort went over the bar.
Earlier, there had been a few selection surprises for the United fans as they took their seats inside the national stadium before kick-off.
Midfielder Chris Erskine made his first start since January 9, when he lined up against Airdrie at the Excelsior Stadium for the fourth round tie.
At the back, Callum Morris was moved from central defence to left-back, with Sean Dillon and Coll Donaldson in the middle of the four.
There were four changes in total for the Tannadice men in what appeared to be a 4-3-2-1 formation.
Dillon, Donaldson, Erskine and Spittal came in, while out of the side that lost to Inverness in the league a week earlier went Dixon, Demel, Gavin Gunning and Henri Anier.
The Easter Road men looked the more dangerous side in the early stages, with Lewis Stevenson in particular giving United problems up the Hibs left.
On 10 minutes, they weren’t too far away from scoring when Fraser Fyvie left fly with a shot from 20 yards.
United were certainly on the back foot and the opposition were finding it far too easy to get in behind them.
Remarkably, though, it was the Tangerines who came closest to scoring on 24 minutes.
Mckay raced clear of the Hibs defence and was left with only stand-in goalkeeper Conrad Logan to beat.
The burly goalie stood his ground and the United frontman shot straight at him and a golden opportunity was squandered.
On 29 minutes, Hibs were awarded a penalty for a handball against Donaldson as he tried to head away Fyvie’s cross.
It was harsh on the crestfallen United man, with the ball striking a combination of head and hand.
However, Hibs somehow managed to make a mockery of the spotkick, with Cummings chipping the ball over the bar.
Understandably, Cummings was booed by his own supporters as he traipsed back up the field.
United made a change on 33 minutes, taking off Morris and replacing him with Dixon.
Antony Stokes shot over for the Hibees then Spittal chipped over for United.
On 43 minutes, terrible defending from the Edinburgh side allowed Mckay to pounce again but Logan did well once again to get in the way of the shot.
Cummings and Company must have received an ear-bashing from manager Alan Stubbs at half-time.
On 52 minutes the Hibs striker almost got on the end of a cross from David Gray but the ball missed his nose by a few inches.
Erskine worked a one-two with Mckay on the hour mark, the midfielder smacking the return goalwards only for Logan to make a decent save.
Erskine then swung over a corner from the right that was met by Donaldson’s head but the defender’s attempt whizzed wide of the post.
United threatened again when Paton chipped a ball into the Hibs box which found Erskine.
It then broke back to Ryan Dow and his shot hit Logan, bounce towards the net only to be nodded away from under the bar by Paul Hanlon.
On 73 minutes, the Tangerines lost Donaldson and he was replaced by Demel who slotted in at centre-half.
They then made their final substitution of the game on 76 minutes, with cramp victim Erskine replaced by Anier, while former United man Farid El Alagui replaced Stokes and Boyle came on for Liam Henderson for the Hibees.
Despite the tinkering, though, neither side could magic up a goal and the match stumbled into extra-time.
Mckay looked to be breaking clear for the Tangerines on 94 minutes but he was flagged offside.
Four minutes later, Rankin fired in a strike from 25 yards that Logan had to turn around the post for a corner.
United were enjoying their best period of the whole match now and a Mckay snap-shot flew wide as they pushed forward again.
Anier, sent clear by Mckay, should have opened the scoring with two minutes of the first half of extra-time remaining.
However, Logan did well again to dive in front of the Estonian international, block the shot and rescue his team.
Three minutes after the turnaround, Cummings cut in and sent in a fierce left-foot shot that United goalie Eiji Kawashima punched away.
With the seconds ticking by, Paton had a go from just outside the box but the ball flew over and it was on to spotkicks, with Hibs sneaking through.
Hibs: Logan, Gray, Henderson (Boyle 85), Hanlon, Bartley, Fyvie, Stevenseon, McGinn, McGregor, Stokes (El Alagui 78, replaced by Dagnall 96), Cummings. Subs not used: Virtanen, Handling, Gunnarsson, Dagnall, Thomson.
Dundee United: Kawashima, Dillon, Morris (Dixon 33), Paton, Mckay, Rankin, Erskine (Anier 76), Knoyle, Dow, Spittal, Donaldson (Demel 73). Subs not used: Zwick, Ofere, Fraser, Sinama-Pongolle.
Referee: John Beaton.