One person was detained Thursday after someone opened fire on three Angeles National Forest contract workers in mountains near Los Angeles, authorities said.

Nobody was struck by gunfire in the shooting shortly before noon near San Gabriel Reservoir above Azusa, according to Lt. Chris Oakley with the Los Angeles County Sheriff’s Department.

Deputies on the ground with help from helicopters searched for the gunman for about an hour, according to KABC-TV.

KANSAS PROSECUTOR INTENDS TO TRY WOMAN FOR THIRD TIME IN KILLING OF EX-HUSBAND, HIS GIRLFRIEND

Gunfire in CA

A gunman opened fire at three Angeles National Forest contract workers near Azusa, California, on Sept. 29, 2022. (Fox News)

JUSTICE DEPARTMENT ANNOUNCES MORE THAN 10 MILLION FENTANYL PILLS SEIZED IN MONTHS-LONG OPERATION

Oakley didn't immediately have additional information, such as details about the person in custody.

A spokesperson for the Angeles National Forest referred media to the sheriff's department.