Dirty Dingus Magee is a 1970 American comedy Revisionist Western film directed by Burt Kennedy and starring Frank Sinatra as the title outlaw and George Kennedy as a sheriff out to capture him. The movie was based on the novel The Ballad of Dingus Magee by David Markson and the screenplay was partly written by Joseph Heller.