Until governments and the WHO began an intensive vaccination program in 1967, the disease persisted for hundreds of years.
Manufacturing, distribution and infrastructure has greatly improved since then so the 13 years (10 actually as the last known natural case was in Somalia in 1977) it took to eradicate smallpox should take much less time these days.