 Several important Councils were held in Aix in the early 9th century.Those of 817 and 836 took place in the buildings adjacent to the chapel.In 817, Louis the Pious had his elder son Lothair in the presence of the Frankish people.