[2] Before colonisation, imprisonment was used in sub-Saharan Africa for pre-trial detention, to secure compensation and as a last resort but not generally as punishment, except in the Songhai Empire (1464–1591) and in connection with the slave trade.
When settlers arrived, they invented courts and passed laws without consent of Indigenous peoples that stated that they had jurisdiction over them and their lands.
[6] The 17th century book Termes de la Ley contains the following definition: Imprisonment is no other thing than the restraint of a man's liberty, whether it be in the open field, or in the stocks, or in the cage in the streets or in a man's own house, as well as in the common gaols; and in all the places the party so restrained is said to be a prisoner so long as he hath not his liberty freely to go at all times to all places whither he will without bail or mainprise or otherwise.
[11] Released prisoners may suffer from issues including psychiatric disorders, criminalized behaviours and access to basic needs.
[12] Various factors have been investigated as to their influence on post-release recidivism, such as family and other relationships, employment, housing and ability to quit drug use.