Hearts' inevitable Europa League exit was confirmed, but pride was recovered in a well-deserved second-leg draw at home to Benfica.
Tomas Bent Magnusson struck a thunderous opening goal past Samuel Soares to reward Hearts for a much more expansive second-half display.
But the Hearts fans had barely sat back on their seats before Benfica levelled, Dodi Lukebakio firing past Beau Reus from inside the area.
It means Hearts will play Rapid Vienna in the Conference League play-offs, knowing a performance like this will stand them in good stead to progress.
Wouter Vrancken's side showed admirable but contrasting qualities in either half, spending much of the first period trying to keep their illustrious opponents at bay, defending their box doughtily.
But the second half was a different story altogether, with Hearts deservedly breaking the deadlock when Magnusson, not long on as a substitute, lashed an unstoppable first-time left-foot shot in from outside the box.
Their joy was shortlived as Benfica finally found their finishing touch, Lukebakio giving Reus no chance with a well-taken finish.
Hearts played some excellent football after the interval and thought they had the lead earlier after superb work by Claudio Braga and Josh McPake to allow Calvin Miller to slot home, only for VAR to rule it out for an offside against McPake.
A draw was arguably a fair outcome on the night, with Benfica controlling the first half without possessing last week's clinical edge, with an Amar Dedic header deflected onto the frame of the goal the closest they came in that spell.