Two students were shot outside a Maryland public high school during a basketball game on Wednesday night.

The shooting caused instant panic inside Frederick High School, with some parents rushing out to check on their children, CBS News reported. The unidentified victims were immediately airlifted to a Baltimore hospital, with their injuries being confirmed as non-life-threatening, according to Frederick County Fire Rescue.

As of early Thursday, the shooter was still at large, but police authorities stated there could be multiple gunmen.

"Any time we have potential bullets flying around with a large group of students and faculty at school, that's a big deal," said Frederick Police Capt. Richard Hetherington, adding that a motive for the shooting is not yet known.

At about 8 p.m. on Wednesday, two teenagers were shot in the Baltimore-Washington, D.C. suburb while a junior varsity boys basketball game between Frederick and Gov. Thomas Johnson High School was being played inside, school officials confirmed. Firemen and police immediately responded to reports of a double shooting on school grounds next to the high school's gym.

"Pretty sure (I heard) five shots in quick succession," witness Tom Thompson told NBC Washington.

"Someone yelled, 'Yo, they're shooting,"' said junior Sofia McCluskey, who was watching the game and heard a muffled shot. "And we just ran as fast as we could."

Following the incident, the building was placed on lockdown, with about 200 people being placed in the cafeteria, Frederick Police Department Lt. Bruce DeGrange told Fox News.

After a SWAT team conducted a search of the school looking for the alleged gunmen, students were eventually released to their parents in the parking of a nearby bowling alley, Hetherington said.

"All other staff and students at Frederick High are safe and accounted for," Frederick County Public Schools spokesman Michael Doerrer tweeted Wednesday night.

Frederick Police said four black males wearing all black are wanted in connection with the incident, The News-Post reported.

Meanwhile, if you have any information, please call police.