ANAHEIM (CBSLA.com) — Two Orange County teens were arrested for their alleged role in a physical confrontation with an off-duty LAPD officer that resulted in the officer firing his weapon, police said Wednesday.

While nobody was struck by the gunfire, the Anaheim Police Department Homicide Detail is investigating the incident that occurred Euclid Street and Palais Road around 2:40 pm. Tuesday in an apparent fight between the unidentified officer while he attempted to detain at least one of the teens, according to police.

READ MORE: Jerry West Insulted At Being Left Off Jeanie Buss’ Top 5 Lakers List

The confrontation began over “ongoing issues with juveniles walking across the officer’s property”, according to a statement from the LAPD, which also stated that during the confrontation, a 13-year-old boy allegedly threatened to shoot the off-duty officer, at which time the officer attempted to detain him until Anaheim police arrived on scene.

Upon their arrival, officers contacted the off-duty officer, who admitted to discharging his firearm during an altercation with at least two individuals, police said. Nobody was struck by the gunfire.

Video footage of the incident appeared to show the officer being increasingly threatened by a crowd of teenagers gathered at the scene, including one boy seen in the video throwing a punch at the officer and another who attempted to tackle the officer while his back was turned.

READ MORE: Cache Of Fireworks Worth $50,000 Seized From Santa Ana Home

The 13-year-old suspect was booked at Orange County Juvenile Hall for criminal threats and battery, while a 15-year-old boy was arrested for assault and battery and later released to his parents.

The off-duty officer cooperated with the ongoing investigation by Anaheim police and was not be arrested.

LAPD Capt. Andy Neiman says the LAPD is conducting its own internal investigation into the actions of the officer.

Watch the video below. Viewer discretion is advised.

MORE NEWS: Bill Maher Tests Positive For COVID-19