 According to Christian Ewert, who has studied for fifteen years the arches of the Aljafería, the more related to noble zones (Golden Hall and Mosque) are the ornaments of the arcades, more respect they have to the Córdoban tradition from which they leave.After the taking of Saragossa by Alfonso the Battler in 1118, the Aljafería was habilitated like palace of the kings of Aragon and like church, not being substantially modified until the 14th century with the performance of Peter IV of Aragon "the Ceremonious".This king extended the palatial dependencies in 1336 and had constructed the Church of San Martín in the entrance courtyard to the alcázar.