RIVERSIDE, Calif. (AP) — Police say a man was shot and wounded when he confronted an off-duty sheriff’s deputy and his family in a Southern California mall parking lot and tried to rob them at gunpoint.

Riverside Police Officer Ryan Railsback says the would-be robber was arrested late Saturday after he showed up at a hospital with a non-life-threatening gunshot wound.

READ MORE: Deadly Crash On Highway 50 In Sacramento

The Press-Enterprise newspaper says nobody else was hurt during the attempted robbery outside the Galleria at Tyler in Riverside.

MORE NEWS: Stimulus Check Latest: Who Is Getting A Plus-Up Payment?

Officials didn’t identify the off-duty deputy or say which agency he works for.