Denis of Portugal
On May 31, 1297, the Treaty of Alcanizes was signed by King Ferdinand IV of Castile and King Denis of Portugal, whereby Campo Maior, together with Olivença and Ouguela, was transferred to the Kingdom of Portugal.