In the early years of the state, the poor, widowed, orphaned and illegitimate were seen as problem groups that were a drain on scarce resources, a threat to the social order and a disgrace to the nation. They needed policing and, where necessary, confinement.