Complex sentence: The town was initially built during a gold rush, and its population peaked at about 18,000 in 1868, for a while it was thought it would replace Auckland as the major town in the area.
Split into simpler sentences: The town was initially built during a gold rush, and its population peaked at about 18,000 in 1868. For a while it was thought it would replace Auckland as the major town in the area.