(RICHMOND, Va.) — Two people are dead and five others injured after a shooting following a high school graduation in Richmond, Virginia, on Tuesday, police said.

A 19-year-old believed to be involved in the shooting is in custody, and there is no ongoing threat to the community following the incident, Richmond police said. Police said they plan on seeking charges of second-degree murder.

A second person who was initially in custody and who had a firearm was uninvolved in the shooting, police said during a Tuesday night press conference.

The two victims who passed away, an 18-year-old who was a graduating student and a 36-year-old man who was attending the event, suffered life-threatening injuries, police said.

Those who have non-life-threatening injures are 14, 32, 55 and 58 years old, and a 31-year-old remains hospitalized with a life-threatening injury, police said.

Six others were injured in the aftermath of the shooting, including two who fell, one who was hit by a car, and three who were treated for anxiety, police said. A 9-year-old was hit by a car and is currently hospitalized with non-life-threatening injuries, police later said.

The shooting occurred around 5:13 p.m. in Monroe Park, near Virginia Commonwealth University, officials said.

Multiple police agencies responded to the scene near the Altria Theater, which was scheduled to host several graduation ceremonies for Richmond Public Schools Tuesday.

A Richmond Public Schools official told ABC News the shooting took place in Monroe Park after the Huguenot High School graduation in the Altria Theater had ended.

Students in graduation gowns could be seen running from the scene amid the police response.

Richmond Mayor Levar Stoney called the shooting a “selfish, senseless act.”

“A child should be able to go to their graduation and walk up to graduation and enjoy the accomplishment with their friends and their families,” Stoney told reporters during a press briefing Tuesday evening.

Thomas Jefferson High School’s graduation ceremony scheduled for Tuesday night has been canceled, and all Richmond Public Schools will be closed on Wednesday “out of an abundance of caution,” the school district said.

Virginia Gov. Glenn Youngkin said state law enforcement are supporting Richmond police in the investigation.

“My administration continues monitoring the terrible shooting in the heart of Richmond tonight,” Youngkin tweeted.

Copyright © 2023, ABC Audio. All rights reserved.