Casablanca is a 1942 American romantic drama anti-Nazi film directed by Michael Curtiz and based on Murray Burnett and Joan Alison's unproduced stage play Everybody Comes to Rick's. The film stars Humphrey Bogart, Ingrid Bergman, and Paul Henreid; it features Claude Rains, Conrad Veidt, Sydney Greenstreet, Peter Lorre, and Dooley Wilson. Set during World War II, it focuses on a man torn between, in the words of one character, "love and virtue". He must choose between his love for a woman and helping her Czech Resistance leader husband escape the Vichy-controlled Moroccan city of Casablanca to continue his fight against the Nazis. Story editor Irene Diamond convinced producer Hal B. Wallis to purchase the film rights to the play in January 1942. Brothers Julius J. and Philip G. Epstein were initially assigned to write the script. However, despite studio resistance, they left to work on Frank Capra's Why We Fight series early in 1942. Howard E. Koch was assigned to the screenplay until the Epsteins returned a month later. Casey Robinson assisted with three weeks of rewrites, but his work would later go uncredited. Wallis chose Curtiz to direct the film after his first choice, William Wyler, became unavailable. Principal photography began on May 25, 1942, ending on August 3; the film was shot entirely at Warner Bros. Studios in Burbank, with the exception of one sequence at Van Nuys Airport in Van Nuys, Los Angeles. Although Casablanca was an A-list film with established stars and first-rate writers, no one involved with its production expected it to be anything out of the ordinary. It was just one of hundreds of pictures produced by Hollywood every year. Casablanca had its world premiere on November 26, 1942, in New York City and was released on January 23, 1943, in the United States. The film was a solid if unspectacular success in its initial run, rushed into release to take advantage of the publicity from the Allied invasion of North Africa a few weeks earlier. The film's reputation grew as audiences embraced it. Casablanca won three Academy Awards: for Best Picture, director, and writing (screenplay). Its lead characters, memorable lines, and pervasive theme song have all become iconic. The film has consistently ranked near the top of lists of the greatest films of all time.