sentences:  Hanna was unsuccessful in the federal elections of 1896 and 1900 before being elected to the provincial assembly in 1902.He served as Provincial Secretary and Registrar from 1905 to 1916.In 1915, Hanna initiated an overhaul of Ontario's prison systems, closing down facilities which treated prisoners harshly, and took special interest in improving the operations of prisons in Ontario to be more humane.