SACRAMENTO, Calif. — 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.

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

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.

RELATED: After two years rebuilding, Oroville Dam spillway gets used again

RELATED: Oroville Dam: How the main spillway failed and was repaired

FOR NEWS IN YOUR COMMUNITY, DOWNLOAD THE  ABC10 APP:

Download on the App StoreGet it on Google Play

Stay In the Know! Sign up now for ABC10's Daily Blend Newsletter