In 1827, London passed Beijing to become the largest city in the world with 1.3 million residents. Over the next 100 years, its population increased nearly 7 times, remaining the most populous city until the end of World War I, by which time it was overtaken by New York.