 This position relative to the river became more important in 1836, when the newly independent Republic of Texas proclaimed the Rio Grande as the southern border of the new country.The nationality of the people of San Elizario was disputed until the signing of the Treaty of Guadalupe Hidalgo in 1848, which ended the Mexican–American War and identified the "deepest channel", i.e.the southern channel, as the official international boundary.