In 1784, under Joseph II, the four municipalities of Malá Strana, Nové Město, Staré Město, and Hradčany were merged into a single entity. The Jewish district, called Josefov, was included only in 1850. The Industrial Revolution had a strong effect in Prague, as factories could take advantage of the coal mines and ironworks of the nearby region. A first suburb, Karlín, was created in 1817, and twenty years later the population exceeded 100,000.