Director and producer Frank Capra originally purchased the rights to Hugh Wedlock and Howard Snyder's story, but when he discovered the concept was similar to that in Lord Dunsany's 20-year-old one act play, he bought it as well; later, when he was going into the Army to serve in World War II, he sold both to Arnold Pressburger. Pressburger approached Rene Clair about directing the film, and the two hired Clair's friend Dudley Nichols to assist in writing the script. They set the time period in the 1890s to avoid dealing with the war.