The Wind and the Lion (1975)

Although the Mediterranean Sea tends to stand between them, there is no reason why Spain can’t be passed off as Morocco, as is the case in this film, made wholly in Spain, Sean Connery’s second home.

Even though a lot of the action, centring around the aggressive foreign policy of President Theodore Roosevelt, takes place supposedly in the USA, only Spanish locations were used in the making of the film.

Various deserted Almeria beaches are used, such as Monsúl and Genoveses, as well as the dunes of Cabo de Gata. 

The battle sequences towards the end of the film take place at the 18th century castle of San Felipe, built by King Carlos III at the fossil beach at Punta del Esparto near Los Escullos.