Imprisonment was not employed as a principal mode of punishment until the eighteenth century in Europe and the nineteenth century in the United States. And European prison systems were instituted in Asia and Africa as an important component of colonial rule.