Complex sentence: Filming took place in Ouarzazate, Morocco, where Scott had previously filmed "Gladiator", "Black Hawk Down", and in Spain, at the Loarre Castle (Huesca), Segovia, Ávila, Palma del Río and Casa de Pilatos in Sevilla.
Split into simpler sentences: Filming took place in Ouarzazate, Morocco, where Scott had previously filmed "Gladiator" and "Black Hawk Down". Filming also took place in Spain, at the Loarre Castle (Huesca), Segovia, Ávila, Palma del Río and Casa de Pilatos in Sevilla.