A North Carolina teenager is in critical condition after being shot by a suspected fellow student Monday morning at a high school located just outside Charlotte, according to local police.

Matthews Police Department said it responded to a shooting at Butler High School before 8 a.m. Monday. The school was immediately put on lockdown until police arrived and took custody of the suspect and gun.

"There is one student that has been shot that was transported to the hospital with unknown injuries at this time. Another student has been taken into custody," the department said in a Facebook statement.

Police have ruled the shooting an isolated incident but said the investigation is ongoing. Officials have not released the gender, age, or additional information of the victim or suspect.

The wounded student was taken to a local hospital and is receiving medical care.

Students were released from school following the incident.

The school is located in south-central North Carolina in a town of approximately 31,000 residents, according to the 2016 census.