Goethe studied law at Leipzig University from 1765 to 1768. He detested learning age-old judicial rules by heart, preferring instead to attend the poetry lessons of Christian Fürchtegott Gellert. In Leipzig, Goethe fell in love with Anna Katharina Schönkopf and wrote cheerful verses about her in the Rococo genre. In 1770, he anonymously released Annette, his first collection of poems. His uncritical admiration for many contemporary poets vanished as he became interested in Gotthold Ephraim Lessing and Christoph Martin Wieland. Already at this time, Goethe wrote a good deal, but he threw away nearly all of these works, except for the comedy Die Mitschuldigen. The restaurant Auerbachs Keller and its legend of Faust's 1525 barrel ride impressed him so much that Auerbachs Keller became the only real place in his closet drama Faust Part One. As his studies did not progress, Goethe was forced to return to Frankfurt at the close of August 1768.
Goethe became severely ill in Frankfurt. During the year and a half that followed, because of several relapses, the relationship with his father worsened. During convalescence, Goethe was nursed by his mother and sister. In April 1770, Goethe left Frankfurt in order to finish his studies at the University of Strasbourg.
On a trip to the village Sessenheim, Goethe fell in love with Friederike Brion, in October 1770, but, after ten months, terminated the relationship in August 1771. Several of his poems, like "Willkommen und Abschied", "Sesenheimer Lieder" and "Heidenröslein", originate from this time.