 While in Berlin Schleiermacher developed romantic attachments to two married women, Henriette Herz and Eleonore Grunow—the latter of which attachments led to scandal and unhappiness, eventually causing Schleiermacher to leave the city. He spent the years 1802–4 in Stolpe. By 1804 he was teaching at Halle University. During the period 1804–5 he began lecturing on ethics (as he would do again repeatedly until 1832). In 1805 he also began delivering his famous and important lectures on hermeneutics (which he repeated regularly until 1833). In 1806 he began lecturing on the history of philosophy, in particular, ancient philosophy (adding lectures on modern philosophy in 1810, and then continuing to lecture on the history of philosophy repeatedly in subsequent years). In 1806 he also published the short book Christmas Eve, a literary work that explores the meaning of Christian love by depicting a German family’s celebration of Christmas Eve. This is in keeping with On Religion’s ideal that (Christian) religion should be family- rather than state-centered. In 1806–7 he left Halle as a result of the French occupation, and moved back to Berlin. From this time on he began actively promoting German resistance to the French occupation and the cause of German unity. In 1808 he published Occasional Thoughts on Universities in a German Spirit, together with an Appendix on One about to be Founded, a work written in connection with plans for founding a new university in Berlin (now known as the Humboldt University), a project to which Wilhelm von Humboldt likewise contributed theoretically soon afterwards as well as playing the leading role in its practical implementation. In 1808 Schleiermacher married a young widow, Henriette von Willich, with whom he had several children. In 1808–9 he became preacher at the Dreifaltigkeitskirche, in 1810 professor of theology at the University of Berlin, and by 1811 also a member of the Berlin Academy of Sciences.