Complex sentence: The district takes its name from Tetouan, Morocco, which was the capital of the former Spanish protectorate in northern Morocco.
Split into simpler sentences: The district takes its name from Tetouan, Morocco. Which was the capital of the former Spanish protectorate in northern Morocco.