Elissa Ennis, the former girlfriend of San Francisco 49ers linebacker Reuben Foster, testified Thursday in a preliminary hearing that she “lied a lot” to authorities about an alleged domestic violence incident involving Foster, ESPN’s Nick Wagoner reports.

Ennis said she made up the story of Foster hitting her because she wanted to ruin Foster's career and sue him for money after he broke up with her on the morning of Feb. 11. She said she felt she needed to tell the truth because she “had to do the right thing.”

“I was pissed, and I wanted to end him,” Ennis testified.

Apart from admitting to her false accusations about Foster, Ennis also admitted to falsely accusing a former boyfriend of domestic violence in Louisiana in 2011 after he attempted to break up with her. She also confessed to stealing money and two Rolex watches from Foster in the days after their breakup.

Ennis’ stunning testimony should be a significant boost to Foster’s case for the domestic violence charge against him to be dropped. The judge hearing the case is set to make her ruling next Wednesday. If she rules that any or all of the charges will continue to a jury trial, that would likely take place in July.

Foster has been barred from taking part in the team’s offseason workouts while his legal matters remain ongoing. But if all charges against him are dropped, he’ll be able to join the team in time for training camp and he can finally focus on preparing for the new season.