Actor and comedian Bernie Mac dies at age 50

? Bernie Mac, the actor and comedian who teamed up in the casino heist caper “Ocean’s Eleven” and gained a prestigious Peabody Award for his sitcom “The Bernie Mac Show,” died Saturday at age 50.

“Actor/comedian Bernie Mac passed away this morning from complications due to pneumonia in a Chicago area hospital,” his publicist, Danica Smith, said in a statement from Los Angeles.

The comedian suffered from sarcoidosis, an inflammatory lung disease that produces tiny lumps of cells in the body’s organs, but had said the condition went into remission in 2005. He recently was hospitalized and treated for pneumonia, which his publicist said was not related to the disease.

Recently, Mac’s brand of comedy caught him flack when he was heckled during a surprise appearance at a July fundraiser for Democratic presidential candidate and fellow Chicagoan Barack Obama.

Toward the end of a 10-minute standup routine, Mac joked about menopause, sexual infidelity and promiscuity, and used occasional crude language. The performance earned him a rebuke from Obama’s campaign.

But despite controversy or difficulties, in his words, Mac was always a performer.

“Wherever I am, I have to play,” he said in 2002. “I have to put on a good show.”

Mac worked his way to Hollywood success from an impoverished upbringing on Chicago’s South Side. He began doing standup as a child, and his film career started with a small role as a club doorman in the Damon Wayans comedy “Mo’ Money” in 1992. In 1996, he appeared in the Spike Lee drama “Get on the Bus.”

He was one of “The Original Kings of Comedy” in the 2000 documentary of that title that brought a new generation of black standup comedy stars to a wider audience.

“The majority of his core fan base will remember that when they paid their money to see Bernie Mac … he gave them their money’s worth,” Steve Harvey, one of his co-stars in “Original Kings,” told CNN on Saturday.

Mac went on to star in the hugely popular “Ocean’s Eleven” franchise with Brad Pitt and George Clooney.

Comedian Carl Reiner, who also appeared in “Ocean’s Eleven” and its two sequels, said Saturday he was “in utter shock” because he thought Mac was improving. “He was just so alive. I can’t believe he’s gone,” he said.