The Gunfighter turned it down, despite having expressed a strong desire to play the part, because of his longstanding hatred for Columbia's president, Harry Cohn. Columbia sold the rights to Twentieth Century Fox, where the role went to Peck. Wayne's final film, "The Shootist" (1976), is often compared to "The Gunfighter" and contains numerous plot similarities. The script was loosely based on the purported exploits of an actual western gunfighter named Johnny Ringo, a distant cousin of the outlaw Younger family and a purported survivor of the infamous gunfight at the OK Corral against Doc Holliday and the Earp brothers. As in
Hour of the Gun not only survives the gunfight, but is a major antagonist thereafter. Where "Gunfight at the O.K. Corral" is more about the main gun battle, this film begins with the gunfight and moves forward from there. Because Hal B. Wallis had scripted everything in the earlier "Gunfight at the O.K. Corral", Sturges was disappointed with that film. "Hour of the Gun" is more of a psychological "melancholy character study". James Garner also played the lead as Wyatt Earp in a different movie filmed more than two decades later, Blake Edwards's "Sunset" (1988), a comedy thriller based on the 1920s period during