Complex sentence: The town was surveyed in 1870 and by 1881 it was gazetted as a municipality.
Split into simpler sentences: The town was surveyed in 1870. By 1881 it was gazetted as a municipality.