Officers observed a one-inch scratch on the woman’s left collarbone, the release states. Investigating officers learned that Foster and the woman had lived together in the past and were in an on-again, off-again relationship over the past three years, the release says.

The 49ers released Foster just hours before their scheduled game against the Tampa Bay Buccaneers.

Foster appeared in Hillsborough County Court via video link with an attorney representing him. His attorney argued that Foster is gainfully employed, that the alleged victim is an ex-girlfriend with whom he does not reside or have children with and that a prior domestic battery case involving the same alleged victim was dismissed.

The judge in the case found probable cause to charge Foster with domestic violence (battery), and held him on $2,000 bond. He also ordered Foster to have no contact with the alleged victim and to not carry any weapons or firearms.

Foster declined to comment when he was released from custody on Sunday, according to footage from CNN affiliate WFLA.

History of legal troubles

49ers General Manager John Lynch said the team decided to release Foster because it had set up specific ground rules for him that he violated.

A college star at Alabama, Foster was the 31st overall pick in last year’s NFL draft but has had several arrests since.

He was charged with felony domestic violence in April for allegedly attacking his girlfriend in February at their home, leaving her bruised and with a ruptured eardrum, the Santa Clara County District Attorney said. The charges were dismissed after the victim recanted her story, although the Santa Clara DA’s office said the evidence demonstrated he “seriously hurt his girlfriend.”

The NFL had suspended him without pay for the first two games of this season in relation to a weapons offense and a misdemeanor drug offense that were resolved earlier this year, the 49ers said in a statement on its website.

“I accept the league’s decision and am sorry that my mistakes have hurt my team,” Foster said in July when the suspension was announced. “I have a responsibility to the 49ers, our fans and our community, and I am committed to learning from this situation and making better choices in the future. The support I have received over the last five months has been humbling, and I do not take it for granted.”

In his two seasons with the 49ers, Foster played in 16 games and recorded 84 tackles.