“I know what hell he’s living in. I’ve had psychotic episodes in public. One of them was on camera -- the opening scene of ‘Apocalypse Now.’”

Martin Sheen is heading to Netflix.

The veteran actor has joined 13-episode comedy Grace and Frankie starring Jane Fonda and Lily Tomlin, The Hollywood Reporter has learned.

Sheen will play Robert, Grace's husband.

PHOTOS From 'Arrested Development' to 'House of Cards,' Exclusive Portraits of Netflix

The single-camera comedy centers on nemeses Grace (Fonda) and Frankie (Tomlin), whose lives are turned upside down when their husbands announce they are in love with each other and plan to get married. The women, much to their dismay, find that their lives are permanently intertwined and, much to their surprise, find they have each other. It comes as Netflix looks to push further into comedy, as original content vp Cindy Holland noted in an interview with The Hollywood Reporter.

Grace and Frankie is slated for a 2015 debut and is written and created by Friends co-creator Marta Kauffman and Howard J. Morris (TBS' Sullivan & Son, According to Jim, Home Improvement). Kauffman, Morris, Paula Weinstein, Fonda, Tomlin and Skydance's David Ellison, Dana Goldberg and Marcy Ross are on board to executive produce. Tate Taylor (The Help) also serves as executive producer and will direct the first episode.

Q&A Netflix's Original Content VP on Development Plans, Pilots, Late-Night and Rival HBO

Sheen, who recently appeared in son Charlie Sheen's FX comedy Anger Management, is repped by ICM Partners. He had a memorable run on Aaron Sorkin's White House drama The West Wing as President Bartlet.

Email: Philiana.Ng@THR.com

Twitter: @insidethetube