Treaty of the Pyrenees
The Albera Range became the border between France and Spain following the Treaty of the Pyrenees, when Philip IV of Spain ceded a part of the Spanish kingdom to Louis XIV of France, dividing Northern Catalonia from Historical Catalonia.