He was imprisoned in a cell for as long as ten years.
Tips
usage
Often used figuratively for mental/ideological constraint: 禁锢思想 (shackle one's thinking), 禁锢灵魂 (imprison the soul). The literal sense of physical imprisonment is less common in modern usage than the metaphorical sense.