One man was killed in a shooting in York City Thursday evening, police said.

Police were called to the 200 block of South Pershing Avenue just before 7 p.m. after reports of gunfire, according to York County 911.

According to a news release, the man was deceased when police arrived and the Coroner's Office was called to the scene shortly after.

Mayor Michael Helfrich arrived on the scene shortly after 8 p.m. and said no statement would be coming until the police finished their investigation. The block of South Pershing between College and Princess streets will also remain closed until the investigation is complete.

The shooting occurred in a parking lot across the street from William Penn Senior High School. Activities in the school were on lockdown for a brief time.

People identifying themselves as relatives of the victim were on the scene and being consoled by Helfrich. The Coroner's Office is expected to release the identity of the victim sometime Friday morning, and an autopsy will be scheduled.

The case is being investigated as a homicide. Anyone with information is encouraged to call the York City Police Department at 717-846-1234 or text tips to 847-411 or download the York City Police Department app.