A 77th-minute try from Josh Charnley ensured Wigan Warriors made it two wins from two at the start of the Super League season with an 18-13 victory over the injury-hit Huddersfield Giants.
Hosts Huddersfield led 6-0 at the interval following a superb defensive showing and sneaked in front again by a solitary point when the impressive Jamie Ellis popped over a drop goal with nine minutes remaining.
However, Wigan were not finished and winger Charnley stepped off the left flank to claim the decisive score - converted by Matty Smith - after an initial break from Anthony Gelling.
The only try of a tight first half arrived in the 25th minute when a looping pass from Ellis enabled the prolific Jermaine McGillvary to touch down in the right corner on his 150th appearance for the Giants. Ellis added a fine conversion from the touchline.
Wigan levelled things up early in the second half, Liam Farrell crossing after Dan Sarginson had patted back a kick from Smith, and moved ahead with their first attack after Huddersfield had seen a try disallowed.
The video referee ruled that Jake Connor had failed to cleanly ground the ball, with the Warriors swiftly taking advantage as Dom Manfredi accepted an overarm pass from Gelling to score.
Debutant Jamie Foster responded for the Giants and, although Ellis failed to match Smith by landing a second conversion, Huddersfield's playmaker duly added a penalty and a drop goal from in front of the posts.
It was to be Charnley who had the final say, though, keeping the Warriors unbeaten ahead of next weekend's World Club Series clash with the Brisbane Broncos.