Some of them were built in the middle ages.