Livingston came from behind to seal a 3-2 victory away to Hibs and climb nine points clear of the relegation play-off spot.
A dramatic opening eight minutes saw Christian Doidge hit the post for the hosts - before Demetri Mitchell smashed the ball home from close range in the next passage of play. Livi went up the other end and were initially awarded a penalty when Odin Bailey went down in the box. After consultation between the officials, that call was overturned.
Livi would draw level on 18 minutes when Ayo Obileye headed home after Matt Macey missed the cross. But Hibs were back in front before the break in freak fashion when Chris Cadden's deflected cross looped over Max Stryjek and into the net.