Charlie Wilson Charlie Wilson

Charlie Wilson, a former congressman whose efforts to arm Afghanistan against the Soviet Union were dramatized in the 2007 film Charlie Wilson's War, has died. He was 76.

Wilson died Wednesday of cardiopulmonary arrest at Texas' Memorial Medical Center-Lufkin, hospital spokeswoman Yana Ogletree told The Associated Press. Wilson, who had trouble breathing while attending a meeting, was pronounced dead on arrival, she said.

See clips from Charlie Wilson's War

From 1973 to 1996, Wilson represented the 2nd District in east Texas in the House of Representatives and was known as "Good-Time Charlie" for his party-loving ways. In the opening of Charlie Wilson's War,

Tom Hanks as Wilson is in a hot tub with some beautiful naked women and another guy while keeping an eye on a 60 Minutes report about Afghanistan.Hanks earned a Golden Globe nomination for his portrayal of Wilson. The film — directed by Mike Nichols and written by Aaron Sorkin — chronicled Wilson's funding of the Afghan mujahedeen in their resistance during the Soviet occupation in the 1980s.