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.