Indefinite imprisonment or indeterminate imprisonment is the imposition of a sentence by imprisonment with no definite period of time set during sentencing. It was imposed by certain nations in the past, before the drafting of the United Nations Convention against Torture (CAT). The length of an indefinite imprisonment was determined during imprisonment based on the inmate's conduct. The inmate could have been returned to society or be kept in prison for life.