San Diego  A man and a woman accused of kidnapping and attacking a 21-year-old woman, then leaving her naked on the side of a Spring Valley freeway, pleaded not guilty Monday to felony charges.

Catherine McCoy, 47, and Christopher Carrera, 33, each face charges of kidnapping, rape by foreign object — a golf club — assault with a deadly weapon and making criminal threats in an attack a prosecutor said was motivated by revenge.

If convicted, they could be sentenced to 25 years to life in prison.

San Diego Superior Court Judge David Szumowski set bail for each defendant at $2 million.

Carrera also pleaded not guilty in a separate case to charges of assault by means likely to cause great bodily injury, stemming from an incident in July. A conviction on those charges carries a potential sentence of 10 to 12 years.

The judge set bail at $100,000 in that case.

Few details about the kidnapping case were discussed in open court Monday. Instead, the attorneys spoke with the judge in a sidebar for several minutes.

San Diego police have said McCoy and Carrera attacked the 21-year-old on Aug. 18 as she walked to a residence on Snowdrop Street in City Heights about 7:30 p.m. She was kicked, punched and forced into an SUV.

Police said McCoy beat and sexually assaulted the woman and threatened to kill her. They said Carrera, who drove the vehicle, stopped on state Route 125 north of state Route 54, pulled the woman by her hair and beat her before driving away.

A passer-by saw the naked woman emerging from the bushes about 8:30 p.m.

Outside the courtroom, Deputy District Attorney George Modlin said the defendants and the victim had known each other for at least a few months and that the attack was apparently motivated by revenge. The prosecutor said McCoy believed the 21-year-old had been sleeping with her boyfriend.

It’s not clear what motive Carrera, who is not the boyfriend, would have had for allegedly participating in the attack.

Carrera is also accused of assaulting a father and his 17-year-old son in Old Town on July 19. The father’s nose was broken in the attack, and the teenager was knocked unconscious and suffered bleeding to his brain.

Modlin did not elaborate on a motive for that incident.

Defense attorneys David Shapiro and Kerry Armstrong, both of whom represent McCoy, said there are “a lot of fiery allegations” in the case and that they’ve just begun receiving some of the discovery. They noted, however, that their client had “nothing to do” with the July incident.

The judge appointed the Public Defender’s Office to represent Carrera.