sentences:  The support that the U.S. had accorded the liberal government of Juárez, by refusing to recognize the government of Maximilian and then by supplying arms to liberal forces, helped improve the U.S.–Mexican relationship.At war's end numerous Confederates fled to exile in Mexico.Many eventually returned to the U.S.
  
  With general Porfirio Díaz's seizure of the presidency in 1876, relations between Mexico and foreign powers, including the United States changed.