Roger de Llúria came to the Crown of Aragon from Italy as part of the retinue of Queen Constanza, wife of Peter III of Aragon.
Llúria became Admiral of the Crown of Aragon, helping the kingdom in its hegemony in the Mediterranean. In 1272, in reward for his services, he received from the king several properties in the Vall d'Albaida, Cocentaina and Alcoi, as well as territories in Sicily and Tunisia.
Roger wanted a maritime outlet for his possessions, so he fought for the territories of Calp and Altea, which led to a confrontation with Bernat de Sarrià, the owner of the neighbouring territories.
In 1297, James II handed over the castles of Calp, Altea and their boundaries to Roger. Shortly afterwards, in 1298, he requested permission to build a town with strong walls and defences in Ifach, to which the king agreed. But in 1305 Roger died, although the works in Ifach continued thanks to Margarita de Llúria, daughter of Roger and Saurina d'Entenza, who also built a church in Ifach, Nuestra Señora de los Ángeles.