Botany, however, had claimed much of his attention, and to this science he became more and more attached, so that he gladly resigned the chair of mineralogy in 1827, two years after becoming professor of botany.