A 21-year-old Northeastern student pleaded not guilty today to the second of two alleged sexual assaults that took place on Friday in Mission Hill, Suffolk District Attorney Daniel F. Conley said.

A judge set $20,000 bail and imposed a 9 p.m. curfew Patrick Barry, who was arraigned in West Roxbury District Court on charges of assault with intent to rape and assault and battery with a dangerous weapon.

As of 2:15 p.m. today, it was not clear whether or not Barry had posted bail.

Advertisement - Continue Reading Below

Barry was arraigned Tuesday on the first of the alleged sexual assaults. He pleaded not guilty and posted the $30,000 bail set by the judge, according to prosecutors and an employee in the Suffolk County Sheriff’s Department records division.

Barry has been ordered to stay away from Mission Hill, Northeastern, and the Huntington Avenue apartment where he lived while attending school. He was also ordered not to contact any victims or witnesses in the case.

In both cases, Barry allegedly ambushed female victims from behind, attacking them with a knife.

In the first attack, at 2:01 a.m. Saturday, a woman was dragged from Huntington Avenue to Vancouver Street. The assailant stole her purse and cellphone and began cutting off her clothes, according to police. The woman screamed and was able to escape.

In the second attack, a woman was grabbed from behind near the corner of Huntington Avenue and Parker Hill Avenue and stabbed in the hand before she was able to escape.

Surveillance video and witness testimony linked Barry to both assaults, according to police.

Barry is slated to return to the Roxbury court for the first case on July 8. His attorney, Carlton Williams, didn’t immediately return a message seeking comment.