BATAVIA  A 12-year-old girl who was upset over being teased by schoolmates accepted responsibility Monday for writing a bomb threat last week on a bathroom door at Amelia Middle School, police said.

The girl, whose name was not released because of her age, pleaded delinquent, or guilty, Monday in Clermont County Juvenile Court to one count of inducing panic.

The count is a fourth-degree felony in adult court.

A charge of making a false alarm was dismissed in exchange for her plea before Juvenile Court Judge Stephanie Wyler.

Several police agencies, including the Hamilton County Sheriff's Department bomb squad, the Clermont Sheriff's Department and the Union Township Police Department, responded at 1 p.m. Friday when the threat was reported to school authorities.

All students were evacuated, but no bomb was found.

When confronted with this, she admitted doing so, and indicated she'd written the threat because she was upset about being teased about a relationship she had with a boy at school, Clermont County Sheriff A.J. Tim Rodenberg said.

The girl will be held at the juvenile detention center pending a sentencing hearing on Oct. 30.

Police said the threat was not connected with racial tension that had been simmering in recent weeks at nearby Amelia High School.