The literature written by Galician authors has been developed in both Galician language literature and Spanish literature. The earliest works written in Galician language are from the early 13th-century trovadorismo tradition. In the Middle Ages, Galego-português (Galician-Portuguese) was a language of culture, poetry (troubadours) and religion throughout not only Galicia and Portugal but also Castile.