Merlin first appears in extant records (Armes Prydein, Y Gododdin) from the early 10th century as a mere prophet, but his role gradually evolved into that of magician, prophet and advisor, active in all phases of the administration of King Arthur's kingdom.