Ronnie O'Sullivan capped a fabulous year as he fended off a remarkable Judd Trump comeback to win the Coral UK Championship.

A 10-9 victory gave 39-year-old O'Sullivan, who came to the tournament at York's Barbican Centre with a broken ankle, his fifth UK title, to go with his five World Championship trophies and five Masters crowns.

He earns £150,000, to go with the £44,000 he pocketed for Thursday's 147 break against Matt Selt.

The main disappointment in O'Sullivan's year came with defeat to Mark Selby in the World Championship final, but in capturing the Masters, Welsh Open, Champion of Champions and now this latest triumph, he has shown he is possibly getting better with age.

Trump was out of sorts for a large part of his second UK final, three years after beating Mark Allen in the same venue to carry off the silverware.

But the 25-year-old Bristolian found his potting prowess when on the brink of defeat at 9-4 adrift, and a jaw-dropping recovery saw him force the deciding frame.

Trump treated a rapt audience to 90 minutes of mid-evening fireworks as he dashed off back-to-back centuries followed by breaks of 86 and 67 to reduce the best-of-19 contest to a single-frame shoot-out.

O'Sullivan inched ahead early in the final frame and rattled in a break of 51 which sealed the win.

Trump, needing snookers, decided he had seen enough and offered O'Sullivan his hand, the pair sharing a warm embrace.

It meant that for the second successive major tournament, after last month's big-money Champion of Champions event in Coventry, O'Sullivan had seen off the man waiting in the wings to take over as snooker's big box-office star.

O'Sullivan, who first won this tournament days before his 18th birthday in 1993, said: "I can't believe I've won it. I don't want to be playing him in every final. I feel like retiring.

"He's a tough opponent, he's very dynamic and very explosive.

He's got so much cue power, he can pot like you wouldn't believe. He's fearless, and he's in your face the whole time, and if you go off the boil he's on you.

"I'm trying to make the most of however long this lasts. It gets harder as you get older but these are great moments. You've got to try to ride that ride as many times as you can.

"I'm going to enjoy this moment. I've won the Champion of Champions title and now the UK Championship. I'm delighted to have had a great few weeks and I can start to think about defending the Masters in January."

Snooker has seen great recoveries over the years, including Dennis Taylor's fightback from 8-0 behind to beat Steve Davis 18-17 in the 1985 World Championship final, and Stephen Hendry's recovery from 8-2 adrift to defeat Mike Hallett 9-8 and carry off the 1991 Masters trophy.

Trump would have joined that illustrious company had he come through to carry off the silverware.

The runner-up said: "I was giving in but then I got to 9-5 and then I got a few chances and made a few breaks and felt good, and I made a really good clearance to reach 9-9. I'm a little bit annoyed I didn't really have a chance in the last frame but I didn't bottle it and gave it my best.

"I left it too late and fair play to Ronnie, he took them well in the last frame and overall he was more of a deserving winner."

Until the 15th frame Trump had a best run of only 56, and against O'Sullivan that had rendered him uncompetitive.

O'Sullivan had raced ahead with breaks of 82 and 81 in the afternoon, in seizing a 5-3 lead, before rifling in 53, 133 and 54 early in the evening session.

It was unrealistic to envisage anything approaching the sporting theatre that was to unfold, especially when Trump threw away handsome leads in the opening two frames of the evening session. In taking both, O'Sullivan looked to have delivered a dagger to the heart of Trump.

In the first of those, Trump had a maximum break in his sights, but he took on and missed a tricky seventh red, a regrettable choice of shot.

O'Sullivan appeared untroubled by the ankle that he hurt while running on the eve of this event. But soon it was Trump causing him unforeseen pain.

He offered glimpses of his swashbuckling talent in a break of 120 to trim O'Sullivan's lead to 9-6, and a rapid 127 brought him even closer.

When Trump levelled up the momentum was with him.

"It happened so quick and at 9-8 my mind was just gone," O'Sullivan said. "I feel really nervous and having had such a lead I thought, 'If I lose it from here the disappointment would be unbelievable'. The pressure was mounting and mounting and it was difficult to put that out of your mind.

"But in the last frame I managed to get a chance, the balls were nice and I had to concentrate on hitting solid shots. It was just relief in the end."