<P> "Ode to Joy" (German: "An die Freude" (an diː ˈfʁɔʏdə), first line: "Freude, schöner Götterfunken") is an ode written in the summer of 1785 by German poet, playwright, and historian Friedrich Schiller and published the following year in Thalia . A slightly revised version appeared in 1808, changing two lines of the first and omitting the last stanza . </P> <P> "Ode to Joy" is best known for its use by Ludwig van Beethoven in the final (fourth) movement of his Ninth Symphony, completed in 1824 . Beethoven's text does not use the entirety of Schiller's poem, and reorders some sections . His tune (but not Schiller's words) was adopted as the Anthem of Europe by the Council of Europe in 1972 and subsequently the European Union and the African Union in 2017 . </P>

Who wrote the poem that the words come from ode to joy