Prisons have always existed in a climate of crisis. The penitentiary emerged in the early decades of the nineteenth century as an enlightened alternative to brute punishment, one that would focus on rehabilitation and the inculcation of mainstream social values. Central to this goal was physical labour. The penitentiary was constructed according to a plan that would harness the energies of the prison population for economic profit. As such, the institution became central to the development of industrial capitalist society. In the 1830s, politicians in Upper Canada embraced the idea of the penitentiary, and the first federal prison, Kingston Penitentiary, opened in 1835. It was not long, however, before the government of Upper Canada was compelled to acknowledge that the penitentiary had not only failed to reduce crime but was plagued by insolvency, corruption, and violence.