Padraig Harrington will head to Valderrama on a high after holding off Darren Clarke to win the Hassan II Trophy.
The Open champion hit a one over par 74 to finish three clear of Clarke on 12 under par and earn $150,000.
Now Harrington heads to the season-ending Volvo Masters needing to finish third and beat Justin Rose to retain his Order of Merit crown.
Harrington said: "You can't beat a win and I'm looking forward to getting out there later this week.
"I know that either Justin or myself need to finish top-three and whoever manages that will be European No 1.
"But it's nice now to be added to the honour roll of champions here and I'm really pleased to win on the African continent as I haven't done that before."
But it was a nervy day for Harrington, who took a six-shot lead into the final round at Royal Dar es-Salam in Morocco before Clarke's final round onslaught.
Harrington added: "I am relieved to have won because it's tough when you are leading and you are trying to defend so much. The emotions aren't the same when you are chasing.
"When you're six ahead it's just very difficult to stay positive and you are just not as clearly focussed as you would want to be."
Paired with Harrington in the final round, Clarke got to within two shots of the Dubliner with seven to play.
But Harrington made sure when he blasted a five-wood to 10 feet for a birdie at the 12th and picked up another birdie at the 15th.
A bogey at the 16th gave Clarke hope but there was no further drama as both men birdied the last.
Clarke was delighted with his best finish of the season and hopes to go one better in this week's Barclays Singapore Open.
He said: "I really enjoyed the day and especially when I got to within two of Padraig with seven holes to play.
"I thought at one stage it was game on but to finish second playing with the Open Champion in last round sorts of tells me that I can't be doing all that bad.
"He said it was awkward out there as he was half-pulling for me, as well and that was very nice of him.
"So it's now on to Singapore and I'm looking forward to it, and as I have been saying all year my game is headed in the right direction."