Wigan Warriors winger Joe Burgess scored a hat-trick of tries to condemn Wakefield Trinity to their first defeat of the Betfred Super League season.
Trinity had made their best start to a season in the top flight since the Second World War and threatened to make it five wins in a row when winger Ben Jones-Bishop scored two tries to give them a 12-10 half-time lead.
But the Warriors ran out 30-18 winners and climb above the Yorkshire club into second.
Wakefield struck early as a Tom Davies handling error saw Jones-Bishop score his first.
Burgess charged over wide out and Taulima Tautai marked his 100th appearance for the club with the try that put Trinity in front.
T on the drum! 👏 pic.twitter.com/T1LyVvYaNO— Wigan Warriors 🍒⚪️ (@WiganWarriorsRL) March 11, 2018
Wakefield demonstrated neat handling to get Jones-Bishop over for his second but Tomkins produced a superb pass as Burgess crossed again and repeated the feat for right winger Davies to produce a spectacular finish.
There was no way back for Trinity when Tomkins set-up Burgess and he came inside to crash over, although they pulled a try back when Craig Huby popped a ball out for Tinirau Arona to score.
Despite defeat, Wakefield coach Chris Chester was proud of his side.
"I thought it was a really good contest," Chester said. "It was a tale of two halves.
"We probably didn't want half-time to come because we were finishing the half pretty strongly. I thought we looked dangerous every time we got the ball.
The century boy all smiles! 😀 pic.twitter.com/RsC5EvQkIF— Wigan Warriors 🍒⚪️ (@WiganWarriorsRL) March 11, 2018
"But in the second half we gave away too many penalties and only completed one of our first five sets.
"The effort was brilliant and, had we been a bit smart in the second half, things might have been different. It was a spirited performance, we were good in a lot of areas.
"I've no issues, I thought we got beat by the better side and we will learn a fair deal from that.
"They are all disappointed and that shows how far we've come, that we're disappointed not to win at Wigan.
"I'm proud of everybody today. It was our biggest challenge and we just came up short against a good side.
"We've started the season pretty well, we've got to make sure this is a blip."
Warriors coach Shaun Wane was delighted with the result.
"It was a good win," Wane said. "They're a good, solid team, they were always going to be hard to beat.
"They said they wanted to come here and make it five from five and that was motivation to us.
"I thought we defended well and in our attack we got them a few times. A bit more clinical and it could have been a fair win for us.
"We came up with some poor errors in the first half, some simple one-on-one catches but there was no stress at half-time, they were easy fixes. We just needed to be more patient. I thought we earned the win."