Charlemagne, on his way to the Pyrenees with Roland, built the first fortification there.
Charlemagne, accompanied by Roland, constructed the initial defensive structure as he journeyed to the Pyrenees.