A place in the third round of the Scottish Cup was at stake. However, it is the Highland League team who will face Stranraer despite their mammoth 28/1 pre-match odds.
Hearts, the Championship league leaders, were embarrassing, going 1-0 behind early in the first half. They struggled to an equaliser through Christophe Berra but were level for minutes before the home side earned a deserved win.
The fall-out from the match will likely last many days and perhaps weeks with fans understandably upset.
How did the players involved rate out of ten?
Player ratings scale - 10: One of the best performances you've seen. 9: Outstanding. 8: Very good. 7: Good. 6: Average. 5: Poor, 4: Very poor. 3: A terrible day at the office. 2: Abysmal. 1: One of the worst performances you've seen.

9. Jamie Walker - 3
Missed a sitter in the second half. Started brightly but as a creative threat was barely noticeable after Brora took the lead. Photo: Ross MacDonald - SNS Group

10. Gervane Kastaneer - 2
Unfortunately a performance many Hearts fans who tuned in won't forget. Everything he attempted seemed to go wrong. Photo: Ross MacDonald - SNS Group

11. Armand Gnanduillet - 3
The Frenchman was on the end of a few crosses but never really looked like scoring. Linked well with Boyce once. Photo: Ross MacDonald - SNS Group

12. Liam Boyce - 4
Had his moments off the bench, including a lovely flick to help set Walker up for a great chance. Ultimately fell down to the level of his team-mates. Photo: Ross MacDonald - SNS Group