Because of its geographical location it has been an important settlement in the area since the Iron Age. The development of the settlement reached its peak in the Romanesque period, although Gothic elements in architecture have also been preserved.