Rudi Skacel scored twice as Hearts secured their place in the Clydesdale Bank Premier League's top six with a 3-0 victory over fellow William Hill Scottish Cup semi-finalists Aberdeen at Tynecastle.
Defender Ryan McGowan headed in a Danny Grainger corner from close range to put Hearts in front after 27 minutes before forward Skacel netted with a trademark left-foot strike from 25 yards after 53 minutes and sealed victory with an 89th-minute third.
The win ensured sixth-placed Hearts could not be caught by Kilmarnock, whose loss in Paisley saw St Mirren relegate the Dons to ninth place.
After a 13-match unbeaten run, Aberdeen have now lost three successive matches and have not won in seven SPL fixtures - since defeating Dunfermline 1-0 in January.
Hearts Manager Paulo Sergio was able to recall Craig Beattie, Ian Black, Jamie Hamill and Skacel, with goalkeeper Jamie MacDonald named to start despite going off with a hip injury last time out.
Hearts appeared the more threatening, but were off target with their passing in the final third and Grainger wasted a free-kick from a promising position. The left-back soon made amends as his inswinging corner to the far post found McGowan to head in from close range.
A Peter Pawlett corner found Andy Considine running towards the near post, but the defender's shot was blocked by Beattie, who then scuffed a shot from the edge of the box at the other end.
A low Andrew Driver cross from the left evaded everyone, including Skacel, as Hearts resumed on the attack. Hearts soon had a second as McGowan found Skacel and the forward punished the Dons for giving him space, drilling a left-footed shot into the top corner from 25 yards.
Driver could only weakly glance a header from a McGowan long throw and Sergio felt comfortable enough to take off Black 22 minutes from time. The key midfielder has been nursing a hernia and was replaced by Suso Santana.
Aberdeen's woes continued as Scott Vernon shot over on the turn from close range before the visitors failed to clear and Skacel pounced, tucking in to seal victory.