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.