AMHERST, MASS. >> A University of Massachusetts Amherst student received a cut on the head when "one or two hostile armed persons" attacked him in a dormitory building before fleeing.

The reports of armed men on campus late Thursday prompted a nearly two-hour shelter-in-place order.

UMass Police Chief Tyrone Parham says the men, who were not believed to be students, entered Pierpont Hall at about 5:15 p.m. Thursday and hit the victim on the head.

Parham said the victim may have been hit with a gun, but there were "absolutely no shots fired."

The student was treated at a hospital. His name was not released.

Parham says the attack was not random.

The assailants remain on the loose.