They drew up maps, signed treaties and made plans ... Mexico attacked in April 1846, and when the Mexican-American War ended in February 1848, the border we see today began to take shape.