The seven states that rely on the Colorado River for power and drinking water have reached a deal on cuts to keep the drought-stricken river flowing.

Three states — Arizona, California and Nevada — have agreed on a plan to conserve at least 3 million acre feet of water by 2026 — roughly the equivalent to the amount of water it would take to fill 6 million Olympic-sized swimming pools.

The Biden Administration, which brokered the agreement, announced the consensus deal Monday in a news release.

The seven states that rely upon the Colorado River were on the precipice of crisis after decades of overuse.