Gellhorn married Hemingway on November 20, 1940, in Cheyenne, Wyoming. Hemingway's friend, Robert Capa, photographed the ceremony for Life. The author dedicated his famous novel about the Spanish Civil war, For Whom the Bells Toll (1940), to Gellhorn. Maria in the book was partly modelled after her. "Her hair was the golden brow of a grain field," Hemingway wrote of his heroine. In the film version of the book, Ingrid Bergman played Maria, but hair was darker than Gellhorn's. However, Gellhorn had suggested her for the role.