(CNN) The California sheriff's deputy at the center of what was described as a sniper shooting admitted that he made it all up, authorities said.

"There was no sniper, no shots fired and no gunshot injuries sustained to his shoulder," Los Angeles County Sheriff's (LASD) Homicide Bureau Capt. Kent Wegener told reporters at a news conference Saturday night.

Deputy Angel Reinosa, 21, had previously said he was shot while walking to his personal car outside of the sheriff's station in Lancaster on Wednesday. The bullet came from a four-story apartment building across the street that houses people with mental health problems, Mayor R. Rex Parris said at the time, adding that a bulletproof vest saved Reinosa's life by deflecting the bullet into his shoulder.

Police said Reinosa was taken to the hospital where he was treated for a minor, non-penetrating wound and that a pellet gun was retrieved from one of the apartments.

The sheriff's department said the incident was targeting a deputy. The mayor described the shooter as a sniper.

Read More