Actor James Avery, best known for playing Uncle Phil on The Fresh Prince of Bel Air, died Tuesday at the age of 65.

TMZ reports that James had undergone surgery for an undisclosed condition and took a turn for the worse.

Alfonso Ribiero, who played Jame's son on the show, tweeted, "I'm deeply saddened to say that James Avery has passed away. He was a second father to me. I will miss him greatly."

In addition to Fresh Prince, Avery had guest-starring roles on That '70s Show, CSI, The Closer and Grey's Anatomy. He also voiced the villain Shredder in Teenage Mutant Ninja Turtles. He was 65.