"Way after" is quite an overstatement. Smallpox is as old as agriculture. Most seem to agree that it was the transition into agrarian life that provided the necessary conditions for it to emerge, but it did so right as that transition took place.