As a result of the Treaty of Alcañices in 1297 the village became part of the Kingdom of Portugal, with the name of São Felix de Galegos, along with other Spanish towns: Hermisende (Ermesende in Portuguese), Salvaterra de Miño (Salvaterra do Minho), Olivenza (Olivença; including the current municipality of Táliga). The Portuguese held San Felices de los Gallegos until 1327 and occupied it briefly c. 1370 and again c. 1476.