Wigan defeated Warrington to reach the semi-finals of the Ladbrokes Challenge Cup. Get a full report and reaction.
Warrington tries: Atkins (27, 33), Savelio (56), Gidley (77)
Goals: Patton (27, 33, 56, 63, 77)
Wigan tries: Burgess (11,21), Marshall (37), Bateman (65)
Goals: Williams (11,21,37,49,65)
Drop-Goals: Tomkins (73)
Returning star Sam Tomkins landed the decisive drop goal as Wigan edged out Warrington 27-26 to claim a place in the Ladbrokes Challenge Cup semi-finals.
The Warriors full-back Tomkins, making his first appearance since breaking his foot last September, kicked a critical one-pointer with seven minutes remaining at the Halliwell Jones Stadium.
Warrington, trailing by seven at this point, produced a grandstand finish with Kurt Gidley crossing to get within a point, but Stefan Ratchford and Declan Patton missed late kicks in a dramatic finale.
The heat was energy-sapping and contributed to an error-strewn contest but supporters were certainly not short-changed.
Wigan dominated early on with Joe Burgess scoring two early tries but they were matched by a Ryan Atkins double.
Liam Marshall, with his eighth try in three games against the Wolves, restored Wigan's lead but further tries were exchanged through Andre Savelio, John Bateman and Gidley before the nerve-jangling ending.
The pressure had been on both sides - and coaches Tony Smith and Shaun Wane - after dreadful sequences that had seen neither side win for more than a month.
Wigan were at least buoyed by the return of several stars, including marquee player Tomkins and forward Bateman after long lay-offs, and inspirational captain Sean O'Loughlin.
By contrast Warrington were forced to make a late change to their plans as Kevin Brown, who had been named in the team after apparently overcoming a foot injury, pulled out after the warm-up.
The stand-off was replaced in the side by 18th man Patton and the disruption may have contributed to the hosts' sluggish start.
Wigan made most of the early running and there was controversy in the opening minutes when Ratchford escaped serious punishment for appearing to trip Tomkins off the ball.
The visitors' opening try came from a swift break from deep inside their own half, but Warrington's defending was poor as O'Loughlin released Tomkins and Burgess sped over.
Again Warrington struggled to contain a Wigan attack as the visitors doubled their lead, although it required a stunning acrobatic finish from Burgess in the corner.
It might have been even worse for Warrington had Marshall managed to gather a Thomas Leuluai kick but the hosts eventually hit back.
Atkins did well to claim a high kick from Gidley and touch down and he followed up moments later by racing on to a well-weighted grubber from Patton.
Wigan immediately replied as Marshall, a player the Wolves must now be sick of the sight of, wriggled out of an Atkins tackle and raced over.
George Williams, who had converted all three tries, pushed the lead out to 20-12 with a penalty early in the second half but Warrington rallied.
Savelio crashed over from close range just before the hour and Patton, also accurate in front of goal, levelled the scores with a penalty.
Wigan made the next incursion when Bateman cut inside to score by the posts and Tomkins' drop goal added vital extra insurance. That point was needed after Gidley forced his way over.
Wigan then put the restart out on the full handing Ratchford a penalty chance to win the game. However, he pushed his effort just wide, as did Patton with a drop-goal attempt in the final seconds.
Wigan head coach Shaun Wane on Sam Tomkins scoring the decisive point: "He never kicks a drop goal, ever, but what we love about him is he is very competitive. He wants to win.
"He just showed there he wants to win games and he has done that since he was eight. I've done nothing to help that, it is just him, and he did a great job today."
While Tomkins' one-pointer proved telling, it was not the final act of an absorbing encounter.
Trailing 27-20 with seven minutes remaining, Warrington still had time to set up a dramatic finale and did so when Kurt Gidley forced his way over to bring the hosts back within a point.
Asked what he felt like after the Joe Burgess error which gave Stefan Ratchford a chance to snatch victory with a halfway line penalty: "Running on the pitch and punching him about 40 times! You can't do that at our level. If that had cost us I would be in a different mood."
Burgess on the mistake: "I was honestly planning a new life, new job, new identity but hey on to the semis."
Wane on the game as a whole: "It was a frustrating one. I think we deserved to win the game but credit to Warrington, they're pretty busted and low on confidence but they really pushed us. It was just one of those where you want to win the game whether it's ugly or pretty."
Both sides had gone into the game in poor form and for Warrington, 10th in Super League, an opportunity to invigorate their campaign may have been missed.
Warrington coach Tony Smith on his side's performance: "There wasn't much between us. There were a few too many errors but I thought Wigan were similar.
"They'd invite us into the game and then we'd invite them into the game, but in terms of effort, character, fight, spirit, there was plenty of it from my boys.
"I'm not going to put it on Stef. It wasn't down to any one person. There were opportunities for us to take throughout that game and we didn't take them."