Sentence:  Lancaster Castle ... contains two classes of prisoners; first, the untried, and those sentenced to death or transportation; and secondly, <WSD>confiners</WSD>,—persons sent hither for terms of imprisonment and labour. 
Meaning of the word marked with <WSD> tags:  A prisoner incarcerated for a set term.