Criminal Law (Ireland) Act, 1828

The Court may order hard labour or solitary confinement as part of the sentence of imprisonment.

19. Where any person shall be convicted of any offence punishable under this Act, for which imprisonment may be awarded, it shall be lawful for the court to sentence the offender to be imprisoned, or to be imprisoned and kept to hard labour, in the common gaol or house of correction; and also to direct that the offender shall be kept in solitary confinement for the whole or any portion or portions of such imprisonment, or with such imprisonment with hard labour, as to the court in its discretion shall seem meet.