Between the 9th and 14th centuries. Catalonia underwent a period of development, consolidation and expansion. The conquest of what was known as Catalunya Nova, and the conquest of Majorca, Valencia and other regions along the Mediterranean, meant that the Catalan feudal lords became wealthier under the auspices of the Count of Barcelona. Among these lords, who were rich and powerful, those in the Empordà region were particularly important, and they left a significant mark of the architectural heritage of their domains.
The medieval period was very important to be able to understand the Empordà region as it is today. There are magnificent samples of those times throughout the territory, which have given it is current configuration. It was a time of battle between feudal lords, particularly between those who had the most important domains and in the Empordà region, we should particularly mention, due to the extension of his lands, the powerful count of Empúries, who had a deep, lasting dispute with the House of Barcelona. However, in the end, he succumbed to its vassalage. Other minor battles and disputes with other lords, such as the Counts of Besalú, Roussillon, Rocabertí or Cruïlles and the Bishop of Girona, led to the territory being filled with fortified towns, castles and palaces, which left us with a region with a rich medieval architectural legacy.