Michael Dunlop made up for the disappointment of his crash in the main Ulster Grand Prix Superbike race as he outfought Guy Martin in a blistering race two.
Dunlop and Martin squared off in a thrilling climax to the final race of the international meeting, which went right down to the wire.
Ulsterman Dunlop, who won the Superstock race at the beginning of the day, slipped off at the hairpin in the feature event when battling with Tyco Suzuki man Martin on the final lap.
But he made no such mistake next time out.
Dunlop and Martin had the race to themselves as they forged ahead of Gary Johnson and Conor Cummins.
They were locked in a furious duel in the final three laps, with each man taking their turn in the lead as they dictated the pace.
The race was delicately poised heading onto the final lap of six, with Dunlop leading at the spectacular Deer's Leap section of the Dundrod course – the fastest road racing circuit in the world.
Dunlop ran wide on the exit of Joey's Windmill on his McAdoo Honda, allowing Martin to squeeze through into the lead.
But Dunlop was determined to make amends for his earlier error and he pounced on the run to the hairpin.
Martin tried all he could to find a way through on the fast final blast to the line, but Dunlop had every avenue covered and crossed the line to the biggest cheer of the day.
Manx rider Cummins reeled in Gary Johnson to snatch third position, with Ryan Farquhar on the KMR Kawasaki taking fifth.
Michael Pearson completed the top six.
Dunlop also set the fastest lap of the race at 133.435mph as he completed his fifth Ulster GP victory.