When did the population of the world reach 1 billion?

The year 1802