Danny McGuire was the match-winner as Leeds Rhinos produced a superb fightback to beat Catalans Dragons 30-24 in Perpignan and cement their place in Super League's top four.
The Rhinos twice trailed by 10 points on Saturday, but came on strong in the final quarter and are now back up to third in the table.
Tries from Adam Cuthbertson and Rob Burrow - the latter courtesy of a wonderful move on the Leeds left - saw the visitors edge in front, before a Tony Gigot penalty left the scores level with six minutes remaining.
It was captain McGuire who then stepped up to win the game, jinking through a gap in the home defence for a score Liam Sutcliffe converted.
Sutcliffe had earlier opened the scoring on his 100th Rhinos appearance, only for Catalans to pull clear with tries from Louis Anderson, Julian Bousquet and Brayden Wiliame.
After Stevie Ward had given Leeds a lifeline, the impressive Richie Myler put Remi Casty over to restore Catalans' two-score lead, but Leeds turned things around.
Saturday's other fixture saw Wakefield Trinity beat Leigh Centurions 40-26, extending the latter's losing run to seven matches. Wakefield stay sixth, but are now three points clear of the three teams directly below them - St Helens, Catalans and Warrington Wolves.