SAN JOSE, Calif. — Former San Francisco 49er Dana Stubblefield was charged Monday with the rape of a “developmentally delayed” woman, prosecutors announced.

The Santa Clara County District Attorney’s Office said Stubblefield, a former defensive lineman for the 49ers and Oakland Raiders, allegedly assaulted the woman on April 9, 2015, at his Morgan Hill home after interviewing her for a baby-sitting job. He is charged with five felony counts and faces a “substantial prison sentence” if convicted.

Stubblefield’s attorneys said the sex was consensual.

A day before the alleged assault, Stubblefield contacted the then-31-year-old woman on a baby-sitting website and arranged an interview, prosecutors said.

“This was a crime of violence against a vulnerable victim,” Deputy District Attorney Tim McInerny said. “She was looking for a job, and she was unconscionably assaulted.”

Bail for Stubblefield, 45, is set at $250,000. His arraignment is scheduled to take place within 24 hours.

According to a report by the Morgan Hill Police Department, the interview of the woman by Stubblefield lasted about 20 minutes. The woman later received a text from Stubblefield saying he wanted to pay her for her time that day, and she went back to the house, the San Jose Mercury News reported.

After raping her, Stubblefield gave her $80 and let her go, according to the police department report. The woman immediately went to the Morgan Hill Police Department and reported the rape. DNA evidence matched that of Stubblefield, the report said.

Stubblefield attorney Gary Winuk said the sex was consensual and his client is being unfairly targeted because of his wealth and celebrity.

Stubblefield provided prosecutors with lie-detector results and evidence that the sexual encounter last year was consensual, including proof that the woman asked his client for a job and money afterward, said attorney Ken Rosenfeld, who also is representing Stubblefield.

“Dana Stubblefield is being unfairly targeted due to his celebrity and wealth by someone with full motivation to lie,” Rosenfeld said. “Mr. Stubblefield passed a lie-detector test with flying colors and will present a full, vigorous defense against these false allegations.”

The Associated Press contributed to this report.