Corwin, well regarded among the Mexican public for his opposition to the Mexican–American War while in the Senate, helped keep relations with the Mexicans friendly throughout the course of the Civil War, despite Confederate efforts to sway their allegiances.