Hearts are two games away from making the group stages of European football for the second season in succession after a famous victory at Tynecastle.
The tie looked lost in the early going after Ísak Þorvaldsson opened the scoring for the Norwegians, putting them 3-1 up on aggregate and giving the hosts a mountain to climb.
They made up some of that ground just eight minutes later when Lawrence Shankland latched on to a through ball and dinked his finish over the goalkeeper.
Hearts kept at it in a game which was played at 100 miles per hour and they got their reward five minutes into the second half when Cammy Devlin netted his first.
The match finally settled for the final 30 minutes as Hearts got a little deep, but it ended spectacularly when the roof lifted off Tynecastle following Devlin’s late winner.
Here’s how the Hearts players rated...

5. LCB - Kye Rowles - 8
Showed a lot of poise as the game rampaged around him. Photo: Mark Scates - SNS Group

6. Aidan Denholm - 6
Solid overall, particularly given the magnitude of the game for such a young player, but did get caught in possession in dangerous areas a couple of times and maybe a little fortunate with a studs-up challenge that wasn't spotted by the officials. Photo: Mark Scates - SNS Group

7. MR - Yutaro Oda - 6
No doubt a threat on the ball, but he needs to work on his control when running with it. Unlucky to hit the post. Photo: Mark Scates - SNS Group

8. MC - Cammy Devlin - 9
Scored two goals, including the winner in injury-time, and put in many important interceptions as the game entered the closing stages and Rosenborg finally managed to get some territorial dominance. Photo: Mark Scates - SNS Group

