The 17-year-old boy accused of shooting and wounding a Good Samaritan in Rittenhouse Square Tuesday night surrendered to police at 4 a.m. Saturday accompanied by his father, police said.

Police did not release further information about him.

About 9:30 p.m. Tuesday, police have said, the teen and an accomplice tried to rob a 22-year-old man and an 18-year-old woman at gunpoint near 19th and Walnut Streets. 

When a cyclist saw the robbery in progress and tried to intervene, the 17-year-old grabbed the gun from his co-conspirator, police spokesman Lt. John Stanford said earlier. After a brief struggle, the teen allegedly shot the cyclist five times, in the chest, torso, and shoulder.

The cyclist, 39, was taken to Hahnemann University Hospital, where he was listed in stable condition Wednesday, police said. Authorities did not release his identity.

Police said they were able to identify the 17-year-old because the pair he had tried to rob knew him by his nickname.

"This was not a random incident at all," Stanford said. "How deep that relationship goes still remains to be determined, but they knew who the guy was and the offender knew these complainants."

The cyclist is not believed to have known anyone involved. Stanford said he frequents Rittenhouse Square, where he often sells bottled water.

No one else was injured and nothing was taken in the robbery attempt, police said.