Cathedral schools began in the Early Middle Ages as centers of advanced education, some of them ultimately evolving into medieval universities. Throughout the Middle Ages and beyond, they were complemented by the monastic schools. Some of these early cathedral schools, and more recent foundations, continued into modern times.
In the later Roman Empire, as Roman municipal education declined, bishops began to establish schools associated with their cathedrals to provide the church with an educated clergy. The earliest evidence of a school established in this manner is in Visigothic Spain at the Second Council of Toledo in 527. These early schools, with a focus on an apprenticeship in religious learning under a scholarly bishop, have been identified in other parts of Spain and about twenty towns in Gaul (France) during the sixth and seventh centuries.
During and after the mission of St Augustine to England, cathedral schools were established as the new dioceses were themselves created (Canterbury 597, Rochester 604, York 627 for example). This group of schools forms the oldest schools continuously operating. A significant function of cathedral schools was to provide boy trebles for the choirs, evolving into choir schools, some of which still function as such.
Charlemagne, king of the Franks and later Emperor, recognizing the importance of education to the clergy and, to a lesser extent, to the nobility, set out to restore this declining tradition by issuing several decrees requiring that education be provided at monasteries and cathedrals. In 789, Charlemagne's Admonitio Generalis required that schools be established in every monastery and bishopric, in which "children can learn to read; that psalms, notation, chant, computation, and grammar be taught." Subsequent documents, such as the letter De litteris colendis, required that bishops select as teachers men who had "the will and the ability to learn and a desire to instruct others" and a decree of the Council of Frankfurt (794) recommended that bishops undertake the instruction of their clergy.