How did the English convict prison system aim to rehabilitate prisoners both mentally and physically during the period 1853-1948?

Prisons and Prisoners

How did the English convict prison system aim to rehabilitate prisoners both mentally and physically during the period 1853-1948?