A student was shot Monday morning by another student on the first day of school at a Baltimore County high school, county police said.

The wounded student was flown by helicopter to a hospital from Perry Hall High School in Maryland. Details of the student's condition were not immediately released.

Another student was in custody, according to Baltimore County Emergency Management. WJZ-TV showed video of a shirtless male with his hands behind his back being put into a police cruiser.

Parents told WBAL-TV they heard the shooting happened inside the cafeteria. One student told the TV station the shooter was being teased. The student said the shooter left the cafeteria, came back with a shotgun and opened fire.

Another student who didn't want to be identified said everyone then started running. "There was no thinking. I just ran. There was nothing I could do," the student told WBAL-TV. "As soon as I hit the front door, I saw people going out the side door. This one girl was on the ground getting stepped on."

The school was evacuated, with students being escorted to the nearby Perry Hall Shopping Center.

U.S. Education Secretary Arne Duncan was at the school on Wednesday to address 800 Baltimore County English teachers, according to The Baltimore Sun. He told the group teachers should earn more and there should be more focus on educating the whole child.

Monday was the first day of classes for Baltimore County public schools.

Perry Hall is a middle-class community along the Interstate 95 corridor, northeast of Baltimore city.

The Associated Press contributed to this report.