The Treaty of Alcañices is signed between King Denis of Portugal and King Ferdinand IV of Castile, resolving territorial disputes and establishing the border between the two kingdoms, one of the oldest and most stable borders in Europe, often referred to as La Raya or A Raia.
The agreement also fostered an alliance between Portugal and Castile. It ended conflicts, fostered an alliance of friendship and mutual defense, leading to decades of peace.