NORRISTOWN, Pa. — The chief accuser at Bill Cosby’s sexual assault retrial talked about framing a celebrity before going to police with her allegations in 2005, a key defense witness testified Wednesday as the TV star’s lawyers began putting on their case.

Marguerite Jackson, an academic adviser at Temple University, said Andrea Constand told her she could fabricate sexual assault allegations and “get that money” from a civil suit, bolstering Cosby’s efforts to show Constand made up the allegations against him to extort a big civil settlement.

Jackson’s account was immediately challenged by prosecutors, who suggested she wasn’t on the trip where she says her conversation with Constand took place.

Her appearance on the witness stand was one of the most anticipated moments of a retrial that has Cosby, 80, defending himself against criminal charges that he knocked Constand out with pills and then sexually assaulted her at his suburban Philadelphia home in 2004. Cosby’s lawyers call Constand a “con artist” who set him up. The comedian paid her nearly $3.4 million in 2006.

Jackson recounted a conversation she said she had with Constand on a road trip to the University of Rhode Island with the Temple University women’s basketball team, where Constand was working as operations director.

After watching a TV news report about a celebrity who had been sued over allegations of sexual assault, Jackson said Constand told her: “Oh wow, something similar happened to me.” Constand said she never reported the assault because her assailant was a “high-profile person” and she knew she couldn’t prove it, Jackson testified.

Jackson, who said she roomed with Constand on the trip, told jurors she encouraged Constand to come forward. She testified Constand then switched gears, saying: “No it didn’t, but I could say it did. I could say it happened, get that money. I could quit my job. I could go back to school. I could open up a business.”

Jackson said the conversation happened Feb. 1, 2004, a few weeks after Constand says Cosby molested her.

Constand denied rooming with Jackson and testified Monday she didn’t “recall ever having a conversation with” her.

During Jackson’s cross-examination, a prosecutor produced Temple records showing Jackson’s travel to other away games but not to the one at the University of Rhode Island. The defense did not produce any records to back Jackson’s claim she was on the trip.

Jackson testified she was aware of the 2005 criminal probe, Constand’s subsequent lawsuit and her big financial settlement with Cosby, but never told anyone in Cosby’s camp — even though Cosby was represented at the time by Patrick O’Connor, the chairman of the board at Temple, where Jackson got her degree and has worked for 31 years.

Judge Steven O’Neill blocked Jackson from taking the stand at Cosby’s first trial last year, ruling her testimony would be hearsay after Constand told the jury she didn’t know her.