Shanghai

The first inhabitants of Shanghai settled in the western part of the city 6,000 years ago.

An excerpt from the article 30 facts about Shanghai
The true development of the city, however, started in the 19th century, thanks to international and domestic trade because of the First Opium War (1839-1842).