Dangerous Dan McFoo (1939)
Dangerous Dan McFoo is a 1939 Merrie Melodies/Vitaphone animated short directed by Tex Avery, produced by Leon Schlesinger, written by Rich Hogan and based on a poem by Robert W. Service entitled The Shooting of Dan McGrew. Carl Stalling wrote and produced the musical score. Six years later, Avery would direct a similar cartoon for MGM called The Shooting Of Dan McGoo starring Droopy.
More at Wikipedia.