tɹɐdˈɪʃən hˈoʊldz ðæt tʃˈɑːɹlz ðə ɡɹˈeɪt tʃˈɑːɹlɪmˌæɡni ɡɹˈæntᵻd ɐ tʃˈɑːɹɾɚ tə ðɪ ˈændɔɹən pˈiːpəl fɚɹə kəntˈɪndʒənt ʌv fˈaɪv,zˈiəɹoʊzˈiəɹoʊ zˈiəɹoʊ sˈoʊldʒɚz ˌʌndɚ ðə kəmˈænd ʌv mˈɑːɹk ˈɔlmjuːɡˌeɪvɚ, ɪn ɹᵻtˈɜːn fɔːɹ fˈaɪɾɪŋ ɐɡˈɛnst ðə mˈʊɹz nˌɪɹ poːɹtˈeɪpˈaɪmɔːɹənz sɜːdˈænjə.
Tradition holds that Charles the Great (Charlemagne) granted a charter to the Andorran people for a contingent of 5,000 soldiers under the command of Marc Almugaver, in return for fighting against the Moors near Porté-Puymorens (Cerdanya).