Wayne Rogers, who played wisecracking U.S. Army surgeon "Trapper" John McIntyre in the acclaimed Korean War television series MASH before leaving after three seasons in a contract dispute, died on Thursday. He was 82.

Rogers, who later forged a successful career as a financial analyst, investor and businessman, died in Los Angeles of complications from pneumonia his publicist, Rona Menashe, told Reuters.

An Alabama native and Princeton University graduate with a degree in history, Rogers achieved his big break after years of lesser roles by being cast to co-star with Alan Alda in MASH, which debuted on the CBS network in 1972.

The series, which was inspired by the 1970 hit movie and combined situation comedy with dramatic elements, was set in a mobile Army hospital unit during the 1950-53 Korean War. It initially focused both on Alda's character "Hawkeye" Pierce and Rogers as "Trapper" John, but Rogers became frustrated as the plots began to give more attention to the increasingly popular Alda at his character's expense.

Left MASH in contract dispute

Rogers left MASH in a contract dispute after the third of the show's 11 seasons, departing at the same time as McLean Stevenson, another original cast member.

Rogers said he had no contract and the producers wanted to impose one that included, among other things, "an old-fashioned morals clause."

"It said that, in the eyes of the studio, if you behaved in an immoral fashion, they have the right to suspend you. Well, nobody defined an 'immoral fashion,' as it were — so it was at the whim of whoever ran the studio," Rogers said in a 2012 radio interview.

Rogers said he told them that "some of these things I'm not going to agree to," and that they responded: "We'll, we're a hit show. If you don't agree, tough, goodbye." 

MASH ran until 1983. Rogers later said that had he had realized "MASH would last so long, he might have "kept my mouth shut and stayed put." He appeared in 74 episodes.

The character of "Trapper" John was eager to return to his wife and daughters but still found time to canoodle with the nurses of the 4077th Mobile Army Surgical Hospital. Some of the show's best moments involved the interplay between Alda and Rogers as the mischievous but talented surgeons striving to save the lives of wounded soldiers while preserving their own sanity amid the madness of war.

Their characters were the chief antagonists of gung-ho Army majors and not-so-secret lovers "Hot Lips" Houlihan, played by Loretta Swit, and Frank Burns, played by Larry Linville.

Rogers later launched a successful business career. He founded an investment strategy firm and a production company, led a wedding dress business in New York and became a financial commentator for Fox News Channel.

In 2005 he got a star on the Hollywood Walk of Fame. He had two children with his first wife, actress Mitzi McWhorter.

After divorcing, he wed producer Amy Hirsh in 1988. Menashe said he was survived by Amy, his children, Bill and Laura, and four grandchildren.