In Spain, the 13th century was dominated by the monumental patronage of Alfonso X of Castile (1221-1284), known as El Sabio (The Wise). His reign (1252-1284) saw an unprecedented blossoming of the scientific and cultural life of Castile and León. Alfonso gathered the finest Christian, Arab and Jewish scholars, poets and historians to his court. By contrast with the manuscripts illuminated at the French court during this period, there are no biblical or liturgical texts among Alfonso's books. Under his direction, the scriptorium moved away from strictly Latin liturgical texts toward vernacular Castilian works covering law, science, and history.
The Cantigas de Santa María constitute a vast poetic repertory in medieval Galician. The 420 compositions include 353 narratives of miracles of the Blessed Virgin Mary - one of the largest such collections - as well as a large number of devotional and liturgical poems, almost all set to music, and many illustrated by miniatures divided into smaller panels. Alfonso X's "Cantigas Project" occupied most of his reign (1252-1284) and was seen by him as an important part of both his political survival and his personal salvation.
Four contemporary manuscripts survive: To-Codex (the Toledo MS, now in the Biblioteca Nacional de Madrid), T-Codex (the Códice rico, in the Escorial Library), E-Codex (the Códice de los músicos, also in the Escorial) and F-Codex (the Florence MS, in the Biblioteca Nazionale Centrale, Florence). They represent at least three different compilations or stages in the elaboration of the Cantigas Project.
| Summary of illuminated manuscripts (miniatures) |
| Late Antique and Pre-Romanesque periods |
| 351-400 | 401-450 | 451-500 | 501-550 | 551-600 | 601-650 | 651-700 |
| 701-750 | 751-800 | 801-850 | 851-900 | 901-950 | 951-1000 |
| Romanesque period |
| 1001-1050 | 1051-1100 | 1101-1150 |
| Early and High Gothic periods |
| 1151-1200 | 1201-1250 | 1251-1300 |
| Late Gothic and Renaissance periods |
| 1301-1350 | 1351-1400 | 1401-1450 | 1451-1500 | 1501-1550 |
| Book covers |
| Illuminations by known masters |
| List of illuminators |