 In 1842, he was appointed professor of forensic medicine at King's College London and assistant physician at King's College Hospital, 1842; he was dean of the faculty of medicine, 1846–58.He also served as Medical Superintendent at Millbank Prison from 1859 to 1869, acting as a semi-official government advisor on prison health, diet and hygiene.He edited the Journal of the Statistical Society of London (now the Royal Statistical Society), 1852–6 and was its president, 1873-5.