Question: the part of mexico north of the rio grande used to be called
Answer: During the late - 1830s and early - 1840s , the river marked the disputed border between Mexico and the nascent Republic of Texas ; Mexico marked the border at the Nueces River .