The Spaniard has endured his fair share of injury torment in recent years, but he demonstrated his quality on the red dirt as he swept the British No.1 aside to net his fourth title.

It’s the third time Andujar has entered the winner's circle in Morocco. The 32-year-old triumphed in Casablanca on two occasions – before the event relocated – and he has now tasted victory in Marrakech, the only ATP stop on the African continent.

The Spaniard is currently positioned at a lowly No.355 in the rankings, however it’s only a matter of time before he retakes his place inside the Top 100 again.

“I played very well during the whole match,” said Andujar. “I tried to make him move as much as I could. He attacks a lot and is a very strong player. I was very solid today and I'm very happy about that.”

Edmund, in the first final of his career, failed to produce his best. He started slowly, falling a double-break behind, and never looked likely to mount a comeback.

“For me it was a good tournament,’ said Edmund. “It was a great experience for me and it’s been a good year so far – even though it's not the result I wanted [today].”

A productive week for the Yorkshireman ended in disappointment, and he will now turn his attention to the Rolex Monte-Carlo Masters.

His first round match is against qualifier, Andreas Seppi, who he defeated at the last sixteen stage of the Australian Open. He was due to begin against Alexandr Dolgopolov, but the Ukrainian has pulled out with injury.

The action is already underway in Monaco. Mischa Zverev took out Felix Auger-Aliassime 6-2 6-7(4) 6-1 and Karen Khachanov downed Thanasi Kokkinakis 7-5 6-4.