Police have charged a 22-year-old man with murder after two people were killed and four others were wounded in a shooting on Tuesday at the University of North Carolina at Charlotte.

NBC affiliate WRAL reported Wednesday that Trystan Andrew Terrell, a history major who had recently dropped out of the school, was charged with two counts of murder, four counts of attempted murder, assault with a deadly weapon and two firearms offenses.

ADVERTISEMENT

A spokesman for Mecklenburg County law enforcement told reporters that a deputy confronted the shooter and disarmed him shortly after the attack began.

"We train for this type of incident and we were able to get to the building and one officer went immediately to the suspect to take him down," the spokesman said.

Police told Reuters that the gunman is suspected to have acted alone.

One teacher told WRAL that the campus was "torn up" about the shooting and urged lawmakers to do more to protect students and teachers.

"It breaks my heart. We're torn up about what's happened," Susan Harden said, according to WRAL. "Students should be able to learn in peace and in safety and professors ought to be able to do their jobs in safety."

Gov. Roy Cooper (D) said it was a tragic day for the city and vowed to provide resources for survivors.

"This is a tragic day for Charlotte and this great university. We mourn the lives lost and we will all be here to support each other. I commend the first responders for their quick action and am grateful that the campus is now secure," he tweeted.

This is a tragic day for Charlotte and this great university. We mourn the lives lost and we will all be here to support each other. I commend the first responders for their quick action and am grateful that the campus is now secure. — Governor Roy Cooper (@NC_Governor) May 1, 2019

“I want this university and city to know that this state will be there for them ... we will be available for mental health services, whatever this university needs ... for many people here, this will be the worst day of their lives," Cooper added at a news conference on Tuesday.