 Andorra and Spain have an unusual and long relationship.Andorra was created by Charlemagne as a buffer state between France and the Umayyad conquest of Hispania.In 1278, under terms of "pareage" agreement, Andorra adopted joint allegiance to a French and a Spanish prince after disputes between French heirs to the Urgel countship and the Spanish bishops of Urgell.