Huddersfield Giants survived a spirited St Helens fightback to make it three successive Betfred Super league wins with a 24-16 victory at the John Smith's Stadium.
Huddersfield forged a 12-point first-half advantage but the gap was twice trimmed to just two points before a late Lee Gaskell try sealed the points.
The Giants moved above Wigan and into seventh in the table - their highest position of the season - and are now just a point behind their defeated opponents.
GALLERY: Selection of images from tonight's 24-16 victory over St Helens pic.twitter.com/NNAUc06S1v— Huddersfield Giants (@Giantsrl) June 16, 2017
Saints had won three of their previous four games since the arrival of new coach Justin Holbrook, but suffered a defeat in Yorkshire on Friday.
Leroy Cudjoe and Martyn Ridyard scored tries before the break to give the Giants a 12-6 lead, with Luke Thompson replying for Saints.
Mark Percival and Adam O'Brien traded tries after the break with Kyle Amor's 65th-minute try narrowing Huddersfield's lead again before Gaskell's late intervention.
Giants head coach Rick Stone said: “The last three games have been very important in the context of the competition but this game in particular because of the way we won.
“We had a couple of comfortable wins but tonight was really satisfying as it was probably the toughest and most courageous we have been in the near 12 months that I’ve been here.
"We had some adversity with Jake (Mamo) and Kruise (Leeming) coming off, but we showed plenty of ticker. We have been in that situation plenty of times in the last eight to ten weeks and not got the job done so to see it through tonight is satisfying."
Yeah the boys!! Showed plenty of ticker tonight. Another quality win in the bank, time to enjoy the weekend 🙌🏻 #COYG— Tom Symonds (@TommySymonds) June 16, 2017
Saints head coach Justin Holbrook said: "We had another great week training and have been playing well but things didn’t go our way from the start, similar to last week. We did some dumb things and took some poor options to put ourselves under pressure.
“Last week we were good enough to get out of it but this week we couldn't.
“But I don’t want to take anything away from Huddersfield - they ran harder, tackled stronger and did everything better than us tonight.”