Hearts captain Marius Zaliukas went from villain to hero as the Tynecastle side progressed to the quarter-final of the Scottish Communities League Cup with victory over Livingston.
The Lithuanian defender was responsible for the visitors' equaliser, slipping at the vital moment to allow Marc McNulty to scamper through on goal and make it 1-1 in the second half.
That cancelled out a first-half Danny Grainger goal, but Zaliukas made amends in determined fashion, bundling home two goals in the last 15 minutes to ensure there would be no cup shock in Edinburgh tonight.
Hearts, who ended a three-year winless run at Tannadice on Saturday with a 3-0 triumph at Dundee United, showed just one change, with Andrew Driver replacing promising 17-year-old Dale Carrick.
Livingston had an altogether less enjoyable last encounter, suffering an emphatic 4-0 defeat against Dunfermline at the weekend.
The Lions made two changes, bringing in Paul Watson and former Hearts youngster Jordan Morton for Ross Docherty and Callum Booth.
The visitors made an industrious start and registered the first effort at goal within 10 minutes as Morton, back at Tynecastle with a point to prove, fizzed a decent effort just over the bar from 25 yards.
That proved to be a prelude to an even better chance.
A sumptuous Stefan Scougall through-pass sent McNulty haring through on goal, but his low shot drifted narrowly past Jamie MacDonald's left-hand post.
Speculative pot-shots from distance from Darren Barr and Scott Robinson were all Hearts could muster by way of response during an underwhelming opening from the hosts.
However the hosts did go close on the half-hour mark as a tantalising Danny Grainger free-kick was inches away from finding Callum Paterson at the far post.
Driver was next to threaten as John McGlynn's men ground through the gears, shooting over the bar.
Livingston goalkeeper Andy McNeil then made two marvellous saves from Robinson. He initially parried a point-blank header from the 20-year-old over the bar, then blocked a low shot from the same man following some fine set-up play from Paterson.
Not to be outdone, McNeil's opposite number MacDonald did well to tip a Anthony Andreu effort which skipped along the slick Tynecastle turf and past the post.
On the stroke of half-time the home side claimed the lead in circumstances which were cruel on a Livi side who had held their own against the SPL outfit.
Grainger attempted a shot from 35 yards and, with McNeil behind it all the way, the ball took a vicious deflection off Craig Barr, sending it spinning past the forlorn goalkeeper.
Emboldened by their goal, Hearts emerged with vigour in the second half. Within minutes of the interval the dangerous Robinson glanced a header just wide of the post from a Ryan McGowan cross.
The lead should have been doubled minutes later as Robinson fired in a terrific low cross but, from all of six yards, Arvydas Novikovas smashed his shot over the bar. With the hour mark approaching, Hearts were punished for their missed chances.
Skipper Zaliukas dallied horribly on the ball in his own half, allowing McNulty to rob him.
Showing admirable composure, the 21-year-old lifted the ball past MacDonald.
Zaliukas restored the hosts' lead with 15 minutes to play, scrambling home from close range following a poorly defended corner-kick.
It was 3-1 - and a double for Zaliukas - minutes later, as he rose at the back post to head in a Ryan Stevenson delivery.
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules hereComments are closed on this article