Ricky Gervais is to star in a six-episode comedy series for Netflix called "After Life."

The British comedian, 56, also wrote, produced and will direct the half-hour program.

"Tony had a perfect life," a synopsis said. "But after his wife Lisa suddenly dies, Tony changes. After contemplating taking his own life, he decides instead to live long enough to punish the world by saying and doing whatever he likes from now on."

"He thinks it's like a Super Power -- not caring about himself or anyone else -- but it turns out to be tricky when everyone is trying to save the nice guy they used to know."

Gervais is also known for creating and starring in the shows "Derek," "Extras" and "The Office."

His latest standup special "Humanity" is now streaming on Netflix and he this week taped another show called "SuperNature" for the streaming service.

"Humanity After Life SuperNature. It's like I'm gradually finding God," Gervais tweeted Wednesday.