Martin Sheen has been cast in the upcoming Netflix comedy series Grace and Frankie. 

The West Wing star will appear alongside Jane Fonda and Lily Tomlin in the sitcom from Friends co-creator Marta Kauffman.

The show follows two long-time rivals whose lives are turned upside down when their husbands declare their love for one another, and announce their plans to marry.

According to The Hollywood Reporter, Sheen will play Robert, Fonda's on-screen husband.

Grace and Frankie, which is set to air in 2015, has been given a 13-episode first series.

Sheen recently appeared in his son Charlie Sheen's FX comedy Anger Management.