A 16-year-old boy was arrested by York City Police on Wednesday for a series of attempted armed robberies near York College, police said.

The teen, whose name and address were not released, faces charges in juvenile court for three attempted robberies that happened on West Jackson Street between Friday and Wednesday, police said in a news release.

He was arrested after victims of the third incident in the 200 block of West Jackson Street flagged down police officers and pointed out the knife-wielding would-be robber on Wednesday, police said.

Mary Dolheimer, spokeswoman for the college, said two of the three robbery attempts involved college students, but no one was injured.

"We're pleased it was resolved and resolved quickly," she said.

Police could not be reached for additional information.

First attempt: The first attempted robbery happened when the teen allegedly pulled out a knife and demanded money from college students in a vehicle on Friday, Dolheimer said.

Instead of complying with the teen's demands, the students drove away and reported the encounter to police, she said.

That incident happened in the 200 block of West Jackson Street about 3 p.m., police said.

Undeterred by his failed attempt, the teen allegedly again tried his hand at robbery, this time demanding money from a female college student.

The student had walked to a friend's house on West Jackson Street and was on its front porch, "two steps from the doorway," when the teen pulled a knife on her and demanded money, Dolheimer said.

Walk inside: The student walked inside the house and alerted police. The would-be robber again left empty handed, Dolheimer said.

That incident happened about 7:30 p.m. Tuesday, according to the college's Department of Campus Safety.

Dolheimer said she wasn't aware of college students being victims in the third robbery attempt on Wednesday.

The college kept students informed by sending out alerts after the robbery attempts on Friday and Tuesday, she said.

"We had put out timely warnings," Dolheimer said, explaining the emailed alerts are required to be sent to students when certain incidents happen on or near campus.

- Reach Greg Gross at ggross@yorkdispatch.com.