He came from a prosperous family , worked briefly as a lawyer in the 1820s . He held the post of Professor of Geology at King 's College London in the 1830s . He came from a prosperous family , worked briefly as a lawyer in the 1820s , and held the post of Professor of Geology at King 's College London in the 1830s .