Given a sentence in Somali language, translate the sentence to English language keeping the meaning of the original sentence intact

Somali sentence: Caasimadda Spain, Madrid waa taariikhda ugu weyn ee taariikhda dib u celisa qarnigii tobnaad.
The capital of Spain, Madrid is the proud history of which dates back to the tenth century.