An FBI agent was rushed to the hospital by ambulance Thursday after a shooting at a firearms training facility in San Diego's South Bay.

The shooting was accidental, according to a Cal Fire spokesperson.

The unidentified agent was transported to a nearby hospital via ground ambulance.

No details were given on the agent's condition or how the shooting occurred.

The facility on Alta Road in Otay Mesa is used by members of the San Diego County Sheriff's Department, the FBI and the San Diego County District Attorney's Office.

Check back for updates on this developing story.