Hull FC scored three late tries to fight back from 16-6 down late in the game against Hull Kingston Rovers at the Etihad Stadium.
The Robins were cruising to victory with seven minutes remaining after Greg Eden, Craig Hall and Alex Brown had touched down in what was a commanding performance.
However, the Black and Whites had other plans, scoring three times in four minutes to secure a stunning 22-16 victory against their local rivals.
Tom Lineham, Kirk Yeaman and Chris Green scored the tries that won the game.