 He continued to be recognized by the United States, which was engaged in its Civil War (1861–65) and at that juncture was in no position to aid Juárez directly against the French intervention until 1865.France never made a profit in Mexico and its Mexican expedition grew increasingly unpopular.Finally in the spring of 1865, after the US Civil War was over, the US demanded the withdrawal of French troops from Mexico.