The dam was there to stop the river from flooding the lowlands.
(The dam; was; there; to stop the river from flooding the lowlands) (The dam; to stop; the river; from flooding the lowlands)
The dam The dam
was to stop
there to stop the river from flooding the lowlands
the river from flooding the lowlands