James Cagney won an Oscar for playing Broadway producer George M. Cohan in Yankee Doodle Dandy. He agreed to play Cohan again in this film on condition that he would not be paid for the role. He did the role as a tribute to Eddie Foy, who had generously provided occasional meals for struggling young actors, including Cagney, in 1920s New York.