Complex sentence: The city was founded by Caliph Abd ar-Rahman III of Cordova in 955 as a principal harbour in his extensive domain to strengthen his Mediterranean defences.
Split into simpler sentences: The city was founded by Caliph Abd ar-Rahman III of Cordova in 955 AD. It was to be a principal harbour in his extensive domain to strengthen his Mediterranean defences.