David Horsey recorded his second European Tour win with victory in a three-way play-off in the Trophee Hassan at the Royal course in Morocco.
The 25-year-old, who won the BMW International Open in Munich last year, had a hole-in-one at the second but double bogeyed the final hole for a 69.
That put him at 13 under with defending champion Rhys Davies and Jaco Van Zyl.
But Horsey played a fine iron shot to within two feet for a birdie at the second extra hole to claim the title.
Horsey's first 11 holes, including a 180-yard ace at the second, contained only two pars but he looked set for victory in regulation holes when he came to the final tee at 15 under.
But from the middle of the fairway he proceeded to take five more shots.
He missed the green with his approach, duffed his first chip, and then two putted from five feet for a six.
That meant Davies could win the tournament outright with a par but the drama continued as from little more than a yard he sent the putt two feet past.
In the play-off Horsey's hopes took a further battering when he pushed his second shot into a greenside bunker after Van Zyl had escaped on to the green from the woods and defending champion Davies had left himself a putt for a birdie from around 12 feet for the tournament.
That putt stayed up and Horsey produced a fine escape from the trap, swiftly followed by a majestic second shot from light rough which proved decisive when the 18th was played again.
The best round of the day at Agadir came from veteran Thomas Bjorn, the 40-year-old moving up 57 places to a share of 15th after a course record 62 featuring nine birdies and an eagle.