"I wanted to sue Reuben. It was a money scheme. It was all about money. I wanted to get him," Ennis testified under oath, per David Lombardi of The Athletic.
Ennis said she became enraged after Foster tried to break up with her and made up the claims in an attempt to extort him.
"I was threatening Reuben that I was going to f--k up his career," Ennis said.
She also testified she flagged down a passerby to call 911 on Foster after considering whether to falsify charges following a verbal altercation.
Ennis originally told police Foster punched her 10 times, dragged her down a flight of stairs, threw her phone, physically forced her outside and then spit on her. The 49ers linebacker was arrested on felony domestic violence and weapons charges in February. He was officially charged in April despite Ennis recanting her story later that month.
The Santa Clara District Attorney's office pushed back Foster's formal arraignment after Ennis came forward last month by publicly admitting her story was a lie.
The 49ers said they will release Foster if the allegations prove true. He could still be subject to an investigation by the NFL, as the league does not state a player must be formally charged or convicted with a violent crime to violate the personal conduct policy.