Following the admittance of New Mexico into the union, the increased settlement of the Rio Grande farther north in Colorado and near Albuquerque, the 1938 Rio Grande Compact developed primarily because of the necessary repeal of the Rio Grande embargo among other issues. Though both Colorado and New Mexico were initially eager to begin negotiations, they broke down over whether Texas should be allowed to join negotiations in 1928, though it had representatives present. In an effort to avoid litigation of the matter in the Supreme Court a provisional agreement was signed in 1929 which stated that negotiations would resume once a reservoir was built on the New Mexico-Colorado state line. The construction of this was delayed by the Market Crash of 1929. With negotiations remaining stagnant, Texas sued New Mexico over the issue in 1935, prompting the intervention of the president who set up the Rio Grande Joint Investigation the findings of which helped lead to the final agreement. The 1938 Rio Grande Compact provided for the creation of a compact commission, the creation of gaging stations along the river to ensure flow amounts by Colorado to New Mexico at the state line and by New Mexico to Elephant Butte Reservoir, the water once there would fall under the regulation of the Rio Grande Project which would guarantee provision to Texas and Mexico. A system of debits and credits was created to account for variations in the water provided. The compact remains in effect today, though it has been amended twice.