Lied
In German culture the Lied as an art song goes back to the Middle Ages.  Walther von der Vogelweide was a 12th-13th century minnesinger who composed and sang songs for important people at the royal court.  Like most minnesinger, he was a poet as well as a composer, writing words for his own songs.