A man with a pistol opened fire on students in a classroom building at a North Carolina university during the last day of classes Tuesday.

>> WSOC-TV: 2 dead, 4 injured in UNCC shooting

The alleged shooter has been identified by a police source as Trystan A. Terrell, 22, and is in custody according to WSOC-TV.

>> Read more trending news

People across the country took to social media to share their shock and support following the shooting.