In human history , smallpox has been one of the most widespread and lethal diseases to occur in nature , taking hundreds of millions of lives across the globe before it was successfully eradicated in the twentieth century .