The suspect was caught after the 17-year-old victim escaped and got help at a local restaurant.
Police say 27-year-old Jacob Dixon has been booked on about two dozen charges. They arrested him after the girl managed to get help in a shopping area on Rosedale Highway.
"She was able to make her escape from the suspect when he had driven to a nearby business," police Sgt. Joe Grubbs told Eyewitness News. "She was able to get away from the suspect, and contact some employees at the Roadhouse Grill."
On Thursday, a restaurant worker told Eyewitness News he spotted the girl Tuesday morning. She said she needed help and needed to use a phone. He called 911 on his cellphone.
"When I was talking to the operator, (the girl) told me that she is being cut, too." kitchen manager Melvin Hernandez told Eyewitness News. "So, I told this to the operator, and they immediately responded by sending the ambulance, and the police came in."
Hernandez said he didn't see any cuts, but the girl indicated she was injured in the abdomen.
The restaurant employee said the girl told him she'd been beaten by her boyfriend in the parking lot. He went outside, but didn't see anyone who might be that boyfriend. He wanted to be sure the man didn't follow the girl inside.
Grubbs said officers who came out determined the girl had been assaulted.
"Had in fact, been a victim of rape and some assault with some weapons," Grubbs said. "And had been held against her will for about the last three days."
He said the teenager was taken to a hospital for care. Officers then determined the suspect could be at a home in the 2500 block of Alder Street.
"Once they arrived there, they discovered there was another juvenile victim, 16 years old at that residence, who also had been a victim of rape and some sexual assaults," Grubbs said.
Grubbs says there's no indication that girl was held against her will, and it's not clear what her connection may be to Dixon. He said the older teen had a "dating relationship" with him.
Dixon was booked into jail on July 2, and current information shows two sets of charges. Grubbs says those are for each victim. There are six charges related to the 16-year-old, and those include counts related to the difference in the ages between the victim and suspect.
There are 22 counts listed in relation to the 17-year-old victim. Those include rape, various other sexual assaults and false imprisonment.
Grubbs said the two girls were returned to their respective parents.
Dixon is set to be in court next week. Grubbs said the case will now be turned over to the Kern County District Attorney's office for review.
The officer says this investigation shows a case of disturbing violence.
"The cases where somebody's being held against their will for long term, those involving juveniles -- this is just a very violent person," Grubbs said. "Somebody that's mean."