Danny Brough went from hero to villain as Huddersfield Giants suffered an agonising 26-21 home defeat to Super League leaders Castleford Tigers.
Experienced half-back Brough had initially proven typically influential for the struggling Giants, who built on Jake Mamo's first-half hat-trick to lead by a solitary point heading into the closing minutes on Thursday.
After assisting two of Mamo's tries and converting each of them, Brough added a drop goal and penalty to give his side the edge - the latter effort coming after Castleford had seen Jake Webster sin-binned.
However, Huddersfield soon lost their numerical advantage as Brough was yellow carded for dangerous contact, having come in with unnecessary force to tackle the legs of a Tigers player who was already being held.
From the resulting penalty, Jesse Sene-Lefao crossed for Castleford's fourth try to secure a 10th victory in 13 games for Daryl Powell's men, who were below their best in the absence of the injured Ben Roberts and England internationals Zak Hardaker and Mike McMeeken. The Tigers also lost Rangi Chase to injury during the game.
Mamo's hat-trick saw the full-back continue his superb start to life with the Giants, while Joel Monaghan, Greg Minikin and Greg Eden - Super League's leading try-scorer - went over for Cas prior to Sene-Lefao's match-winning effort.