North Queensland Cowboys' Valentine Holmes scored a golden point as his side edged out St George Illawarra Dragons 23-22 to all but end the visitors' NRL Finals hopes.
Having come into Saturday's clash on the back of a nine-game losing streak, the Cowboys lifted themselves two points clear of the foot of the table in dramatic fashion.
Francis Molo had put the hosts ahead in Townsville, but tries from Euan Aitken and Mikaele Ravalawa turned things around by half-time.
Jake Clifford and the Dragons' Jacob Host exchanged tries early in the second half, before Holmes and Kyle Feldt swung the momentum back in the Cowboys' favour.
Zac Lomax's penalty levelled things up, with Corey Norman then sending a drop-goal attempt wide in added time, setting the stage for Holmes to clinch the victory.
The defeat leaves the Dragons in 11th place, six points behind the top eight.
Giddy up #NRLCowboysDragons pic.twitter.com/YN32vAu1ZL
— NRL (@NRL) September 6, 2020
In Sunday's earlier clash, Chanel Harris-Tavita's fine individual display was not enough for New Zealand Warriors as they went down 24-18 to Parramatta Eels.
It was a gritty performance from the Eels, who responded well to a 38-0 defeat to South Syndey Rabbitohs last time out.
Harris-Tavita scored two tries and converted six points, yet a late penalty from Mitchell Moses ensured a six-point win for the third-placed Eels.