A teacher who was jailed for confronting a group of youths with a pellet gun, was told yesterday she could carry on teaching.

Linda Walker, 50, broke down in tears at a disciplinary hearing in Birmingham as she described how "ashamed" she was of her behaviour.

She said she had not intended to shoot anyone, but wanted to use the weapon to deter the gang of boys she believed had caused her family months of harassment, crime and vandalism.

Following the incident in August 2004, Mrs Walker - who taught children with behavioural problems at New Park High School in Eccles, Salford - was jailed for six months by Manchester Crown Court in March 2005 for possessing a firearm with intent to cause fear of violence, and affray.

The appeal court later quashed her jail sentence, replacing it with a 12-month conditional discharge.

At a General Teaching Council hearing in Birmingham, Mrs Walker, of Holly House Drive, Urmston, Greater Manchester, was given a reprimand lasting for two years which she must disclose to any employer inquiring about teacher's registration status.

Speaking after the hearing, she said: "I am thrilled to bits." She added that she now wanted to teach adults and hoped to put the incident behind her.

Nadine Bristow, chairwoman of the GTC committee, said: "The reprimand is appropriate because Mrs Walker has shown insight and remorse into her behaviour" and was at low risk of repeating the offence as she "appeared to have learnt her lesson".