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.
The film is also inspired by the true story of Confederate General Joseph Orville Shelby, who escaped to Mexico following the American Civil War and attempted to ally himself with Emperor Maximilian's forces in Mexico.