A friend and disciple of Jeremy Bentham, he was the architect of the Poor Law Amendment Act (1834). His report for the royal commission set up in 1833 to investigate the conditions of work of factory children resulted in the passing of the Ten Hours Act. During his term of office as Commissioner of the Board of Health (1848–54), he persuaded urban authorities to undertake major water, drainage, and slum clearance schemes to reduce disease.