Warrington Wolves' revival continued in dramatic fashion on Saturday as Tom Lineham's last-gasp try secured a 22-20 victory over Wakefield Trinity at the Halliwell Jones Stadium.
Last year's Grand Final and Challenge Cup runners-up began the Super League season abysmally with six successive defeats, but have now won four in a row and are unbeaten in five.
The Wolves' latest victory came against the odds, Lineham putting his side in front for the first time with his 78th-minute score, which crowned a gritty comeback after Wakefield had led by 14 early in the second half.
Two converted tries in the first nine minutes put Trinity in command. Ashley Gibson was first to touch down after fine work from Kyle Wood and, from the next set of six, Dean Hadley's inside pass put Jacob Miller through a gap and the speedy Mason Caton-Brown was up in support to cross with ease.
Although former Wakefield man Ryan Atkins responded with a terrific solo score from 80 metres, Warrington were guilty of numerous errors and trailed 14-6 at the interval following a penalty from Liam Finn.
When Tom Johnstone went over in the left corner six minutes after the break and Finn added his fourth kick from as many attempts, the game looked to be beyond Tony Smith's men.
However, Chris Hill and the fit-again Kevin Brown claimed tries to keep the Wolves in with a sniff and the hosts were given one last chance when David Fifita knocked on for Wakefield early in an attacking set.
Warrington duly powered upfield and Lineham produced a trademark flying finish in the left corner to extend Trinity's losing streak to three matches.