Complex sentence: During the early 19th century improvements had been undertaken in the supply of water to Londoners, and by 1858 many of the city's wooden medieval water pipes were being replaced with iron ones.
Split into simpler sentences: During the early 19th century improvements had been undertaken in the supply of water to Londoners. By 1858 many of the city's wooden medieval water pipes were being replaced with iron ones.