A school in Scotland recruited a hawk to scare of “nuisance” seagulls and prevent them from stealing pupils’ lunches.

Spiney the Harris Hawk was brought in to watch over Perth Grammar School in Tayside as an extreme measure in pest control following a series of complaints from staff and pupils.

The bird was part of a £7,000 operation put into place after staff reported that gulls have been dive-bombing pupils and stealing food.

He was joined briefly by another hawk named Jean, who accompanied him in patrolling the school fields and playground

Using birds of prey has become an increasingly popular method of controlling unwanted vermin and deterring seagulls humanely, with several falconry centres advertising their birds as such.

Last week, Hillingdon Hospital announced it had employed a hawk trainer to scare off roosting pigeons thought to be a danger to public health.

Spiney the hawk spent a few weeks protecting pupils at Perth Grammar School, but his contract has now come to an end, the school has confirmed.

A Perth and Kinross Council spokesman said: “The council arranged for hawking activity to take place at Perth Grammar School as a pest control measure to deter seagulls which had been nesting on site and causing a nuisance to pupils, staff and visitors.”

“The total cost for all the hawking services was £6,000, with an additional cost of £1,000 for seagull programmed nest disruption.”