The film portrays events surrounding the French Imperial intervention in Mexico during the 1860s period of the neighboring American Civil War. It is also loosely based on Confederate States Army General Joseph Orville Shelby's factual escape to Mexico after the American Civil War (1861-1865), and his attempt to join with Maximilian's Imperial Mexican forces.