The vaccine against smallpox was the first vaccine to be developed against a contagious disease. In 1796, the British doctor Edward Jenner demonstrated that an infection with the relatively mild cowpox virus conferred immunity against the deadly smallpox virus.