A man who said he was armed with a gun sexually assaulted and tried to rape a Johns Hopkins University student early Saturday, an attack that city police said occurred in an alley two blocks from the North Baltimore campus.

The university issued a public safety bulletin on Monday and Baltimore police confirmed the attack, which occurred in Charles Village. The victim was treated at Union Memorial Hospital. No arrests have been made.

Anthony Guglielmi, a Baltimore Police Department spokesman, said the 20-year-old victim was walking to her campus apartment or dorm when she was attacked about 1:20 a.m. by a man in a parking lot in the 3200 block of Lovegrove St.

The street, which resembles an alley and widens behind homes and businesses for parking, runs north to south between the heavily traveled thoroughfares of North Charles and St. Paul streets. It's about one block from a strip of stores, restaurants and a popular bar frequented by Hopkins students. It is also about two blocks from the eastern edge of campus.

Police said that while the attacker "indicated he was armed with a gun," the victim did not see a weapon. Guglielmi said the attacker ran away after sexually assaulting the victim. The attack was reported to police about 3 a.m.

Guglielmi said detectives are "working closely with Hopkins and the victim to further the investigation." He said there are no other reports of similar attacks in the area.

The victim described the attacker as a tall black male with a medium complexion and a muscular build standing 6 feet to 6-feet-2 inches tall. He was wearing a navy blue or black hoodie, police said.

peter.hermann@baltsun.com