A deputy headteacher who was sacked for "mistreating" a pupil after she rescued him from a sex pest has received compensation.

Deborah Ellis was dismissed from a primary school in Wrexham, North Wales last year, following a lengthy three-month investigation. At the time, the proceedings were described as a "grave injustice" to the 51-year-old, who was one of two teachers sacked.

In June 2010, Ellis, who was left temporarily in charge of Hafod-y-Wren Primary, became concerned for a pupil's safety after he refused to leave the playground and return to the school building.

Two weeks earlier a man had been spotted performing a sex act close to the school - the grounds of which are open to the public.

According to Williams, Ellis and her colleague picked the pupil up under the armpits and carried him into the classroom. The trio's movements were caught on CCTV footage, which prompted the school's governing body accuse the two teachers of "gross misconduct by physical and emotional abuse of the pupil".

The lawyer added the boy's mother did not complain about his treatment, nor did the police believe any law had been broken.

At the time, the National Union of Teachers, who confirmed one of the teachers was a member, questioned the decision.