In this film, the title character, played by Gary Cooper, is a drifter who is accused of stealing a horse. He is brought before the redoubtable rapscallion Judge Roy Bean. Cooper saves himself from hanging by pretending that he's intimately acquainted with actress Lily Langtry, whom Bean worships from afar.