The University of Massachusetts Amherst asked students to stay away from the Sylvan residential area as police responded to a report of a gunman on campus Monday afternoon, but the weapon went off. turned out to be a pellet gun, officials said.
UMass Amherst police gave the all-clear to the college community at 5:21 p.m. Police responded earlier to a report of a person who had what appeared to be a rifle or shotgun on the land near the Renaissance Center on East Pleasant Street, UMass police said. .
A witness took a photo of the person at 1:50 p.m. and contacted UMass police at 2:30 p.m., police said.
Complete the story on BostonGlobe.com.