SACRAMENTO (AP) — California’s water resources agency has agreed to pay a Northern California county $12 million to repair roads after a crisis at the country’s tallest dam forced nearly 200,000 people to evacuate in 2017.

The state Department of Water Resources and Butte County announced the settlement Tuesday, more than two years after spillways at the Oroville Dam crumbled and fell away during heavy rains.

READ MORE: Authorities Search For Missing 17-Year-Old Swimmer North Of Santa Cruz

The repairs resulted in heavy truck traffic that damaged Butte County roads. Butte County sued in August 2018.

READ MORE: Mother, Son Arrested Following Berkeley Shooting, SWAT Standoff

Residents in three Sierra Nevada foothill counties fled their homes in February 2017 after authorities warned that a wall of water could flood nearby towns.

The uncontrolled release of massive amounts of Oroville’s reservoir did not happen and the dam has since been repaired.

MORE NEWS: Scaled-Down Dreamforce Marks Major Step In San Francisco's COVID Economic Rebound

© Copyright 2019 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.