Original: In 1857 it had 11,273 inhabitants and in 1872 almost 20,000.
Simplified: In 1857 it had 11,273 people and in 1872 it had almost 20,000 people.