A woman in San Francisco was caught on camera leaning out of a car's window while brandishing an AK47, police said.

The San Francisco Police Department revealed some information about the road incident in a press release released on Friday, The Independent reported. Police disclosed that the shocking image was taken during "an illegal exhibition of speed event" on July 11.

Woman With AK47 on San Francisco Highway

The San Francisco Police Department noted that the woman was seen leaning out of a Cadillac while holding an AK47. The department added that the incident took place on Barneveld and McKinnon.

A photo shared to the police department's social media account showed what appeared to be a woman with long brown hair wearing a black hoodie while holding one of the deadliest firearms.

Officers investigated the photo and eventually identified the gray Cadillac. Another photo shared by the San Francisco Police Department showed the vehicle being towed away by police officers.

The San Francisco Police Department said the "Traffic Company personnel of the department worked up a case," and they were able to seize the particular vehicle. However, the department did not mention if the AK47 was found inside the vehicle.

The department also did not specify whether anyone or the gun-toting woman had been arrested in the incident. The identity of the person in the image was also not released.

READ NEXT: 2 Women in Colombia Caught Smuggling Cocaine Hidden in Their Vaginas

Act Against California's Vehicle Code

Under the California Vehicle Code 23109, the incident was considered an exhibition of speed, a crime related to speed contests, KRON reported.

Based on the Shouse California Law Group, an "exhibition of speed" is the acceleration of a motor vehicle at a dangerously high rate of speed. The group noted that it was "often done for amusement or to draw the attention of bystanders."

The group said the the act is also commonly referred to as reckless driving, "speed ex," "flooring it," or street racing. Unlike ordinary vehicular speeding, the group noted that "speed ex" can be charged as a California misdemeanor.

However, it still carries significantly lighter penalties than driving under the influence or driving with a blood alcohol content (BAC) of 0.08 or higher.

The group said if you are arrested for exhibition of speed, the arresting officer has the right to seize your vehicle and impound it for up to 30 days. It noted that California's basic speed law prohibits motorists from driving at a dangerous and unsafe speed.

Photo Quickly Went Viral Online

Meanwhile, the photo quickly went viral on social media. The shocking photo not only triggered a series of questions but also jokes. Some individuals who saw the photo reacted.

A Twitter user said: "She's taking 'riding shotgun' too literally."

Another one wrote: "Proving, once and for all, that not everyone who hangs out the passenger side of their best friend's ride is a scrub."

READ MORE: Indiana Wife Shoots Husband, Chops His Corpse, and Orders Her Kids to Help Get Rid of Remains

This article is owned by Latin Post

Written by: Jess Smith

WATCH: Woman Leans Out of Car, Holds AK47 in San Francisco - From KRON 4