 Charlemagne confirmed the right to the land in 794 and the church was consecrated between 806 and 820.Benedict of Anian, the son of Languedocian nobleman, went on to formulate the strict code of the Benedictine order which was adopted in 817 under an edict from Charlemagne.In fact, the Abbey founders soon adopted the order of the Benedictines themselves.