A California woman's quick thinking got her out of a dangerous carjacking attempt in Oakland, according to local news.

The woman was driving along Skyline Boulevard behind a white Dodge Charger around 8:30 a.m. July 21, when the Charger pulled out in front of her and two suspects got out of the vehicle, as FOX 2 Oakland first reported.

"They pulled in front of me, the guy jumped out, ran toward me with a gun…" said the woman, who spoke with FOX 2 on the condition of anonymity.

Dashcam video footage inside the victim's SUV shows the Charger pull out in front of her vehicle, leaving little room between the suspect vehicle and a divider in the middle of the road. 

WASHINGTON, DC, POLICE ARREST MAN WHO ALLEGEDLY CARJACKED 3 VEHICLES AND SHOT, KILLED 1 PERSON AND 2 DOGS

The driver suspect is seen exiting a Dodge Charger and pointing a gun toward the victim

A woman was driving along Skyline Boulevard behind a white Dodge Charger around 8:30 a.m. July 21, when the Charger pulled out in front of her and two men got out of the vehicle, as FOX 11 Los Angeles first reported. (FOX 2 Oakland)

The suspect driver can be seen running out of the Charger and toward the victim's vehicle while pointing a gun in her direction. Then, a second suspect wearing a black ski mask gets out of the passenger side of the Charger and runs toward the other side of the victim's vehicle.

MASKED TEENS STORM SCHOOL BUS, FIRE 3 SHOTS AT 14-YEAR-OLD'S HEAD, PISTOL WHIP HIM AFTER GUN MISFIRES: POLICE

The victim said she thought the suspect fired a gun three times, but he was apparently "rapping on the window" of her car, she told FOX 2.

A second suspect wearing a black ski mask gets out of the passenger side of the Charger

A second suspect wearing a black ski mask gets out of the passenger side of the Charger and runs toward the victim's vehicle. (FOX 2 Oakland)

The passenger suspect, whom the victim believes may have been a woman, tried to open the passenger door as the driver suspect knocked on the victim's window.

CONNECTICUT MAN FIGHTS OFF 4 SUSPECTS IN ATTEMPTED CARJACKING IN HARROWING VIDEO

"I punched it, I went around their car, and I drove away as fast as I could trying to get some place safe," she said. 

The dashcam footage shows the victim speed between the suspect vehicle and the road divider as the suspects follow her down a hill. 

A close-up of the carjacking suspect

Oakland police say they have identified a suspect in the carjacking attempt. (FOX 2 Oakland)

"I had the horn going, and I was driving fast and hard, and I wouldn't let them get up next to me," the victim said, describing the ordeal as "scary." "You've got to have a plan. You've got to be aware."

The Oakland Police Department told Fox News Digital on Thursday that it made several arrests in connection with the Skyline Blvd. carjacking and multiple other carjackings throughout the city. The police department's Violent Crime Operations Center took two adult males and one juvenile male into custody Thursday after tracking down the suspects' vehicle. They tried to flee from police but were eventually caught. 

CLICK HERE TO GET THE FOX NEWS APP

Oakland authorities did not release the names or any other information about the suspects.

There were a total of nine carjackings in Oakland, located just east of San Francisco across the bay, between July 17 and 23, according to police. There have been more than 300 total carjackings so far this year – an increase compared to carjackings over the same time period in 2021 and 2022, Oakland crime statistics show.