Top seed and former champion Guillermo Garcia-Lopez was dumped out of the ATP Grand Prix Hassan II in the quarter-finals by Jiri Vesely.
Spaniard Garcia-Lopez was a victor in Marrakech in 2014, but Czech Vesely - seeded eighth - had too much in a 6-4 7-6 (7-2) victory on Friday.
Vesely, who lost his only other career meeting against Garcia- Lopez in Bucharest last year, fired down six aces and won 81 per cent of first-service points in a clinical display.
Veteran 34-year-old Paul Henri-Mathieu, the 2007 champion, put up a brave fight against third seed Borna Coric before falling to a three-set defeat.
The Frenchman won the first set on a tie-break, but Coric fought back for a 6-7 (6-8) 6-3 6-4 victory to set up a semi-final showdown with Vesely.
On the other side of the draw, 35-year-old Albert Montanes - whose last ATP title came three years ago - continued to roll back the years with a 6-1 7-5 beating of Facundo Bagnis.
Bagnis' Argentine compatriot Federico Delbonis awaits Montanes in the final four after the fourth seed saw off Pablo Carreno Busta 7-5 6-2.