Authorities: West Virginia high school teacher calmed student who held class at gunpoint

West Virginia Police and school officials help parents reunite with their children at Philip Barbour High School following a "hostage-type situation" Tuesday, Aug. 25, 2015, in Philippi, W.Va. A report of someone with a gun inside the school led authorities to isolate and arrest a suspect in the building Tuesday, State Police said. (AP Photo/Ben Queen) (The Associated Press)

A West Virginia Police officer and a dog walk around the perimeter of Philip Barbour High School grounds following a "hostage-type situation" Tuesday, Aug. 25, 2015, in Philippi, W.Va. A report of someone with a gun inside the school led authorities to isolate and arrest a suspect in the building Tuesday, State Police said. (AP Photo/Ben Queen) (The Associated Press)

Parents and students leave after reuniting with their children following a "hostage-type situation" at Philip Barbour High School, Tuesday, Aug. 25, 2015, in Philippi, W.Va. A report of someone with a gun inside the school led authorities to isolate and arrest a suspect in the building Tuesday, State Police said. (AP Photo/Ben Queen) (The Associated Press)

Authorities say that with 29 terrified students looking on, a West Virginia high school teacher managed to calm a 14-year-old student who pointed a gun at her in her classroom, giving a police chief time to arrive and convince the boy to free his peers and surrender.

No one was hurt Tuesday in the hostage-taking that rocked Philip Barbour High School high school in Philippi, a small West Virginia town some 115 miles south of Pittsburgh, Pennsylvania.

State Police Lt. Michael Baylous wouldn't say what spurred the hostage-taking, citing an ongoing investigation.

Barbour County Prosecutor Leckta Poling said she plans to pursue unspecified charges against the suspect, but the court process is closed because the unidentified student is a juvenile.