It was noticed during the 18th century that people who had suffered from the less virulent cowpox were immune to smallpox, and the first recorded use of this idea was by Benjamin Jesty, a farmer at Yetminster in Dorset, who had suffered the disease and deliberately transmitted it to his own family in 1774, his sons subsequently not getting the mild version of smallpox when later inoculated in 1789.