In colonial America, quarantine was a state-sponsored restriction on individual liberty in the name of public health, and was accepted by the public. Early inoculation, on the other hand, was done by individuals, and was immediately resisted by the public.