A 27-year-old man was found dead of an apparent suicide in Amherst Wednesday night.

Amherst College was placed on lockdown in connection with the incident after police received a report of an emotionally distraught man with a firearm in the area of the school.

According to the Northwestern District Attorney’s Office, police were called to Mill Lane near Groff Park in Amherst, following a report of an emotionally distraught man with a gun.

A campus-wide notification went out to “shelter in place,” which was lifted when police found the body of an Amherst man who had died from an apparent self-inflicted gunshot wound.

Amherst College released a statement about their decision to lock the campus down, saying:

“Even though that individual was never reported to be on college grounds, we felt it paramount to do so in order to protect anyone on campus as the incident played out.”

The District Attorney’s Office told 22News, the matter remains under investigation, and that there is no threat to the public.

The victim’s official cause of death will be determined by the Office of the Chief Medical Examiner. His death is not being investigated as suspicious.