Bill McKinney, a character actor best known for his role as the hillbilly villain who rapes Ned Beatty’s character in the movie “Deliverance” but who enjoyed a long career that lasted until this year, died Dec. 1 in Van Nuys, Calif., from esophageal cancer. He was 80.

In John Boorman’s 1972 film “Deliverance,” McKinney’s character (known only as Mountain Man) orders Beatty’s character to “squeal like a pig” before he violently sodomizes him; he became so identified with the role that McKinney registered Squeallikeapig.com for use as his personal website. The scene in the film was largely improvised, although different parties have taken credit over the years for the “squeal like a pig” line.

McKinney’s films included several directed by Clint Eastwood, including “The Outlaw Josey Wales,” “The Gauntlet,” “Every Which Way but Loose” and “Bronco Billy,” as well as “Junior Bonner” and “The Shootist” during the 1970s; “First Blood,” “Heart Like a Wheel” and “Against All Odds” in the ’80s; “Back to the Future Part III,” “City Slickers II: The Legend of Curly’s Gold” and “The Green Mile” in the ’90s; and 17 films since 2000, including “Looney Tunes: Back in Action,” the “2001 Maniac” remake and “Pride and Glory.”

Most recently, he had appeared in James L. Brooks’ “How Do You Know” in 2010 and in “The Custom Mary” this year, and he shot a commercial for Doritos just two weeks before his death.

McKinney had a long career in television as well, with guest roles in “The Monkees,” “I Dream of Jeannie,” “Ironside,” “Mannix,” “Columbo” and “Baretta”; “The Fall Guy,” “The A-Team” and “Murder, She Wrote” and “Falcon Crest” in the 1980s; and “Baywatch,” “The Young Indiana Jones Chronicles” and “Walker, Texas Ranger” in the ’90s.

William Denison McKinney was born in Chattanooga, Tenn. He served in the Navy during the Korean War studied acting at the Pasadena Playhouse.

Survivors include a son.