Complex sentence: The canal served the mines well for almost 30 years, but the dock and river were affected by silting.
Split into simpler sentences: The canal served the mines well for almost 30 years. However, the dock and river were affected by silting.