Our pictures tell the story of the match.
5. Hearts 2 Raith 3
Raith debutant Kai Kennedy takes on Hearts captain Steven Naismith. Photo: Paul Devlin - SNS Group
6. Hearts 2 Raith 3
Regan Tumilty turns away after making it 3-0 to Raith. Photo: Paul Devlin - SNS Group
7. Hearts 2 Raith 3
Liam Boyce pulls a goal back fro Hearts to make it 3-1. Photo: Paul Devlin - SNS Group
8. Hearts 2 Raith 3
Kai Kennedy is congratulated after being subbed by Raith Rovers manager John McGlynn. Photo: Paul Devlin - SNS Group