In the 11th and 12th centuries, the pilgrimage to Compostela was inspired by pure devotion and religious fervor. However, some people were obliged to set off on a pilgrimage to expiate their sins.