Альфонсо V
Sacked by Almanzor in about 987, the city was reconstructed and repopulated by Alfonso V, whose Decree of 1017 regulated its economic life, including the functioning of its markets. León was a way-station for pilgrims on the Camino de Santiago leading to Santiago de Compostela. With Alfonso V of León the city had the "Fueru de Llión", an important letter of privileges.