Bill Cosby‘s TV daughter Keshia Knight Pulliam spoke to reporters outside a Pennsylvania courthouse where she attended the first day of Cosby’s sex assault trial.

Cosby, 79, is accused of raping 40 women over a span of 4 decades.

During a break in Monday’s proceedings, Pulliam told ABC News the whole situation was “heartbreaking”, explaining she was in court to hear “the truth” because “it’s what you do” for friends.

“The man that I’ve known as a child was funny and witty and smart and philanthropic and full of advice,” she said outside the Montgomery County Courthouse. “I can only go based on who I’ve experienced, and at the end of the day, it’s the court’s job to find the truth of the matter.”

Cosby, who is legally blind, thanked Pulliam and her TV mother, Phylicia Rashad, in a tweet on his Twitter.com account on Monday afternoon.

“Thank you to (The Cosby Show characters) Cliff and Claire’s 4 year old daughter (Rudy),” he tweeted under a photo of the two of them hugging.

Pulliam, who portrayed adorable Rudy Huxtable on the hit 1980s sitcom, previously defended Cosby in a 2015 interview with Wendy Williams. The former child star denied any inappropriate contact between her and Cosby.

“At the end of the day they are allegations. I don’t have that story to tell,” she said.

Photos by Mark Makela/Getty Images