answer: The resulting dispute among Texas, the federal government, and New Mexico Territory was resolved in the Compromise of 1850 , when much of these lands became parts of other territories of the United States in exchange for the U.S. federal government assuming the Texas Republic's $10 million in debt.