Warrington Wolves' hopes of an extended season were all but ended as Liam Finn's late drop goal earned Castleford Tigers victory.
Liam Finn kicked a last-minute drop goal as Castleford Tigers claimed a precious 17-16 victory over Warrington Wolves at The Jungle on Thursday.
Warrington came into the game trailing Huddersfield Giants and Castleford by four points and knowing defeat would leave them facing a huge battle to secure a top-four finish.
The visitors fought back from 16-6 down to draw level with three minutes remaining.
However, Finn had the final say - kicking the crucial point to send his side fourth - six points clear of Warrington, with Huddersfield facing Catalans Dragons on Friday.
Warrington thought they were ahead 11 minutes in, but a video replay ruled Ben Harrison had been held up and Justin Carney gave Castleford the lead soon after.
Strong build-up play from Luke Gale and Michael Shenton allowed Carney to touch down in the corner, before Gale added the extras.
Shenton - the scorer of four tries against Hull FC last week - went over to make it 10-0, before a converted score from Richie Myler got Warrington back within four..
Cas gave themselves breathing space early in the second half as Carney claimed his second try of the night, only for Warrington to fight back and level with further tries from Myler and Kevin Penny.
A point would have given Warrington a glimmer of hope in their top-four quest but Finn ensured his side the points as Castleford avenged their 44-6 loss to the Wolves last month.