A Secret Service agent assigned to protect Nancy Reagan is recovering after accidentally shooting himself in the hip at a sheriff's department shooting range.

Ventura County sheriff's spokesman Capt. Mike Aranda says the gun went off as the agent was putting it back in its holster Friday at the range in Camarillo. The agent was hospitalized with a non-life-threatening injury to his hip. His name was not released.

Nobody else was injured.

The Ventura County Star reports the agent was assigned to the Reagan Protective Division of the Secret Service, which handles security for the former first lady.

Aranda says the Secret Service is handling the investigation of the incident.