Will Smith is opening up about the 30-year long feud between himself and his Fresh Prince of Bel-Air costar Janet Hubert in the latest Red Table Talk.

In the episode, Smith reveals the work that he has put in to ensure that the relationship between the two could get resolved.

Will Smith opens up about feud with Janet Hubert

In the latest Red Table Talk, Will Smith is taking the center stage instead of the usual host, his wife Jada Pinkett-Smith, and opens up about the 30 year-long feud with his Fresh Prince of Bel-Air costar, Janet Hubert. 

FRESH PRINCE OF BEL AIR, Janet Hubert, Will Smith, James Avery, 1990-96

In the episode, Smith recounts the lessons he's learned from his contentious feud with Hubert alongside clinical psychologist Dr. Ramani Durvasula.

In the clip, Smith says that he took to the red table to talk about "something that has really troubled me for nearly 30 years."

"My painful situation was around the Fresh Prince," he says. "I had a feud, a war of words that I’d been in with Janet that I never thought would get resolved."

The reunion special on HBO saw the two finally bury the hatchet after all these years, and Smith said that was intentional for him.

"I really couldn’t see myself celebrating without really dealing with this," he said, referring to the reunion.

Hubert played "Aunt Viv" for the first three seasons of the series, but left the show in 1993 citing "creative differences."

"We never publicly talk about Janet and what happened, and for me, it felt like I couldn't celebrate 30 years of Fresh Prince without finding a way to celebrate Janet," Smith said during the Red Table episode.

After admitting he never fully got to hear Hubert's side of the story, Hubert opened up about her departure from the show.

"I was never fired, but the misconception was always put out there," she said. "I was trapped — what could I do? They said, 'Okay, then we're going to recast your role,' and I said, 'What can I say?' I was hurt, deeply."

Hubert then went on to talk more about her personal life problems, finally sharing with Smith that she knew he was going to be a star, and that she is glad after all these years they can put it to rest.

"I felt it was necessary for us to finally move forward, and I'm sorry that I have blasted you to pieces," she said.

Watch the full clip below!