Castleford Tigers have moved off the foot of the Super League table with a dramatic 34-30 win over Hull Kingston Rovers at the Jungle.
Kris Welham opened the scoring in the first 60 seconds, with his first of three tries on an eventful evening in West Yorkshire.
The Tigers led at half time thanks to tries from Josh Griffin, Nick Youngquest and Richard Owen.
After the break, tries from Lincoln Withers and Josh Hodgson, along with 10 points from the boot of Michael Dobson, had looked to have given Craig Sandercock's side the points.
However, in the penultimate minute, Australian full-back Youngquest went over for the second time to steal an unlikely win.