Guerra de Ifni
The first wars that Moroccan troops have taken part in the 20th century as an independent country were the Ifni War and Sand War.