 He was equally in his element as the lion of the salons and as the savant of the Institut de France and the observatory.On 12 May 1827 he settled permanently in Berlin, where his first efforts were directed towards the furtherance of the science of terrestrial magnetism.In 1827, he began giving public lectures in Berlin, which became the basis for his last major publication, "Kosmos" (1845–62).