The Erie County Sheriff's Office is investigating a shooting from the weekend.
Deputies say a 21-year-old man was shot during an attempted robbery in the Town of Clarence.
According to deputies, the suspect in custody is a 17-year-old boy.
Officials say a subject was lured to a construction site off Gentwood Road sometime Friday. Deputies say this was a prearranged meeting and the victim was shot with a .22 caliber rifle during an attempted robbery.
The subject and two other people left the scene.
Just after midnight on Saturday, Deputy Lundberg went to Millard Fillmore Suburban Hospital for a report of a person with a gunshot wound. Deputy Lundberg says the victim's calf had been shot.
On Saturday, detectives arrested the 17-year-old suspect from a Clarence residence. He was charged with felony counts of second-degree assault with a weapon, attempted robbery with a deadly weapon and reckless endangerment.
The Erie County Sheriff's Office is still looking for the other two subjects from the incident. One showed a handgun and should be considered armed, according to deputies.
The Sheriff's office believes this was an isolated incident and that the victim was targeted. It also does not believe the second suspect is a danger to the public.
The 17-year-old is being held at the Erie County Holing Center.
The investigation is ongoing. Anyone with information is asked to call the Erie County Sheriff's Office at 858-2903.