The historical context of the US penal system has been shaped by a variety of religious, economic, and social factors over time. In the colonial era, punishment for crimes was very severe and focused on public shaming, corporal punishment, and at times exile or execution, influenced by religious ideals of the time. As the US population grew, prisons became overcrowded and conditions deteriorated. The convict lease system that emerged in the late 1700s and 1800s essentially perpetuated slavery through forced prison labor.