The hit Netflix drama Dead to Me features a surprising cameo this season, and no we’re not talking about James Marsden coming back to play his own twin.

In another casting masterstroke, Christina Applegate’s Married With Children mom Katey Sagal appears in the second season playing the incarcerated mother of Judy (Linda Cardellini) who we meet in a prison waiting room.

Series creator Liz Feldman has spoken to TVLine about the character, hinting that season three of the show could include a Married With Children reunion, with Sagal and Applegate sharing the screen once again (as their characters in Dead to Me have yet to cross paths.)

Casting masterstroke: Christina Applegate's Married With Children mom Katey Sagal appears in the second season playing the incarcerated mother of Judy (Linda Cardellini)

Casting masterstroke: Christina Applegate’s Married With Children mom Katey Sagal appears in the second season playing the incarcerated mother of Judy (Linda Cardellini)

Feldman also revealed that they decided on the role before Sagal – who is best known for her role as Peggy Bundy – was cast.

When Sagal’s name came up in casting discussion, Feldman said she “just started laughing” saying: “I was like, ‘Oh my God that’s insane and… I love it.’ It was just wonderfully ironic.”

Sagal, 66, played the sex-starved, lazy and free-spending wife of shoe salesman Al Bundy for 11 years in the series, while Applegate played her daughter Kelly Bundy.

Linda Cardellini and Christina Applegate talk emotional shoots

Surprise: Applegate and Sagal do not yet share any scenes together on Dead to Me

Surprise: Applegate and Sagal do not yet share any scenes together on Dead to Me

Back for more? Creator Liz Feldman has teased that Sagal could be back from season three

Back for more? Creator Liz Feldman has teased that Sagal could be back from season three

Let her out: Feldman said she'd like to give fans hope that the pair could be reunited

Let her out: Feldman said she’d like to give fans hope that the pair could be reunited

In the interview, Feldman says she took the idea to Applegate who then “immediately put in a call to Katey to encourage her to come on board” adding that: “They’re very close. She was absolutely thrilled. Christina adores Katey. She really is like a mother to her.”

While Applegate and Sagal haven’t shared any scenes yet, Feldman did tease a potential on-screen reunion of the pair for season three.

“At the very least I want to give you hope,” Feldman said.

Close bond: The pair are said to be like a real-life mother and daughter act

Close bond: The pair are said to be like a real-life mother and daughter act

Applegate and Sagal have remained friends for the past 23 years since Married With Children came to a close.

In 2014, they reunited along with the rest of the cast when Sagal received her star on the Hollywood Walk of Fame in 2014.

During the ceremony, Applegate gave a heartfelt speech honoring her TV mom.

Married With Children reunion: Christina Applegate, Ed O'Neill and David Faustino pose at the ceremony that honored Katey Sagal with a Star on the Hollywood Walk of Fame

Married With Children reunion: Christina Applegate, Ed O’Neill and David Faustino pose at the ceremony that honored Katey Sagal with a Star on the Hollywood Walk of Fame

“I met Katey when I was 15 years old, so, it’s been about 10 years since we met,” Applegate joked. “I’ll never forget the day I met her: We walked into the rehearsal hall for Married With Children and I’d never seen someone look that good in a white T-shirt and jeans in my entire life.”

“The fact that your body is better now than it was then makes me sick, because I’m wearing a Fitbit trying to get rid of all my baby weight.”

Firm friends: Katey Sagal and Christina Applegate attend the 7th Annual TV Land Awards held at Gibson Amphitheatre on April 19, 2009 in Universal City, California

Firm friends: Katey Sagal and Christina Applegate attend the 7th Annual TV Land Awards held at Gibson Amphitheatre on April 19, 2009 in Universal City, California

Big success: Applegate is an executive producer on the Netflix show

Big success: Applegate is an executive producer on the Netflix show