(CNN) Two people are dead after a shooting on the campus of the University of North Carolina at Charlotte, authorities said Tuesday.

Three people are in critical condition and one other person was injured, UNCC Chief of Police Jeff Baker said.

An officer quickly went to the room where the suspect had fired, disarmed him and took him into custody, Baker said. The suspect was armed with a pistol, he said.

The Charlotte-Mecklenburg Police Department identified the suspect as Trystan Andrew Terrell, 22. He is in custody with charges against him pending.

"Right now, he is not somebody (who) was on our radar," he said, adding the suspect said nothing while he was being handcuffed.

Read More