 During this period, the castle was built.In 1194, it came under the domination of the Swabians.In 1266, the death of Frederick II, began the Angevin period, which reduced the amount of the population in poverty.