On October 12, 18-year-old Rashawn Duniver and at least two others attacked a 22-year-old Northwestern law student in the 700 block of North Fairbanks around 8 p.m., police said.

Duniver allegedly punched the victim in the face, knocked him to the ground, and continued to beat him until the man gave up his phone password and laptop. A juvenile female has also been arrested in connection with the mugging.

The attackers ran away while a witness summoned help from a university callbox. Police said the witness walked the victim to Northwestern’s nearby hospital for treatment.

Prosecutors said Duniver and unidentified co-offenders carried out a similar robbery in the 800 block of North Dearborn around 8:30 last Sunday evening, with Duniver beating a 25-year-old man until the victim provided his phone password.

Duniver turned himself into police after surveillance images of the Northwestern suspects were made public, police said.

He is charged with two counts of felony robbery. A judge Saturday set his bail at $40,000. The 14-year-old girl is also charged with one count of felony robbery.

Chicago police records show that Duniver was charged with aggravated robbery in connection with a hold-up in the 6700 block of South Rhodes on June 9. The status of the case was not immediately available.