Wigan Warriors overcame Hull Kingston Rovers in a thrilling game at New Craven Park.
Hull led 26-12 at half time through four tries from Craig Hall, Ben Galea, Lincoln Withers and Jake Webster.
The second half came with a feast of tries, with four from Wigan still leaving them trailing 36-32 with three minutes left on the clock.
A bundling try from Liam Farrell in the 77th minute gave Wigan a dramatic lead, with Pat Richards adding another with the final play to secure a fantastic 42-36 win for the Warriors.