An exploration of the complex and multifaceted connection between deviant behaviour and social marginality in Scotland between the sixteenth and eighteenth centuries.