De las 420 Cántigas de Santa María, que constituyen el cancionero mariano más rico de la Edad Media, 356 son narrativas y relatan milagros de la Virgen; las demás, con la excepción de una introducción y dos prólogos, son de loor o se refieren a festividades marianas o cristológicas. Salvo el poema introductorio, todas están acompañadas de melodías. (...)Huelga subrayar el rango que en la historia de la espiritualidad les corresponde a las Cántigas como al monumento literario más destacado del culto mariano en la Península Ibérica, su interés para la historia de la métrica y, finalmente, su importancia como una de las fuentes más ricas del galaico portugués antiguo.Dentro de la ingente producción científica y literaria planeada y hasta cierto punto dirigida por el rey ocupa la colección de las Cántigas un lugar aparte (...), es la única obra que no está dedicada a temas jurídicos, históricos o astronómicos-astrológicos; es la única que no está escrita en español, y es, sobre todo, la obra que tiene más carácter personal.
Alfonso X (also occasionally Alphonso, Alphonse or Alfons), called the Wise (in Spanish: el Sabio), was the King of Castile, León and Galicia from 30 May 1252 until his death.
Alfonso X fostered the development of a cosmopolitan court that encouraged learning. Jews, Muslims, and Christians had prominent roles in his court. As a result of his encouraging the translation of works from Arabic and Latin into the vernacular of Castile, many intellectual changes took place, perhaps the most notable being encouragement of the use of Castilian as a primary language of higher learning, science, and law. Alfonso was a prolific author of Galician poetry, such as the Cantigas de Santa Maria, which are equally notable for their musical notation as for their literary merit. Alfonso's scientific interests—he is sometimes nicknamed the Astrologer (el Astrólogo)—led him to sponsor the creation of the Alfonsine tables, and the Alphonsus crater on the moon is named after him. As a legislator he introduced the first vernacular law code in Spain, the Siete Partidas. He created the Mesta, an association of sheep farmers in the central plain, but debased the coinage to finance his claim to the German crown. He fought a successful war with Portugal, but a less successful one with Granada. The end of his reign was marred by a civil war with his eldest surviving son, the future Sancho IV, which continued after his death.