Deliberate attempts to ward off infections by inducing a minor form of the disease were common in China in the middle ages. The practice of variolation as a protection against smallpox spread from India, through Turkey and into Western Europe in the 18th century.