 In May 1848, after the United States Senate ratified the Treaty of Guadalupe Hidalgo, the 5th Infantry marched from Mexico City to Veracruz and returned to the United States.They spent 1849–50 in Arkansas and the neighboring Indian Territory, then replaced the 7th Infantry in Texas.In 1851 they were stationed mainly along the upper Brazos River; by 1854 they had moved to Fort McIntosh outside the city of Laredo.