ALBUQUERQUE, N.M. (AP) — The U.S. Supreme Court has scheduled oral arguments in a lengthy battle between New Mexico and Texas over management of one of North America's longest rivers.

Oral arguments in the Rio Grande case are scheduled Jan. 8.

All sides say the stakes are high given uncertainty about the future sustainability of water supplies throughout the Rio Grande Valley. Farmers, water policy experts, city officials and others have been working behind the scenes to build a framework for a possible settlement.

Texas took its case to the Supreme Court in 2013, asking that New Mexico stop pumping groundwater along the border so that more of the river could flow south to farmers and residents in El Paso.

New Mexico has argued in court documents that it's meeting delivery obligations to Texas.