A menace who sexually pestered a woman PCSO and badly injured an officer with a concrete block has been given an indefinite anti-social behaviour order to protect police.

Bearded nuisance Steven Bates, 31, had escaped with a suspended prison sentence when he appeared before Judge Colin Burn at Bradford Crown Court last December for affray and threatening behaviour.

The court heard then how Bates, of Lower Grange Close, Allerton, Bradford, had approached the PCSO, asked to kiss her, stroked her arm, repeated sexual threats and shouted at her. The incident took place only four months after Bates had been released from a nine-year jail sentence for attacking an officer with a concrete slab.

Last week, Bates appeared again at Bradford Crown Court to be sentenced for offences of causing actual bodily harm, assaulting a PC, resisting a PC, threatening behaviour, possessing cannabis and breaching a suspended sentence order. Judge Burn sentenced Bates to an immediate 25 months prison term. He also granted an anti-social behaviour order, to remain in force until further order, prohibiting Bates from using foul, abusive, offensive, threatening or intimidating language or behaviour towards any West Yorkshire Police officer or police community support officer.

The court found that, since 2012, Bates had deliberately and persistently caused “a nuisance, harassment, alarm and distress” towards members of West Yorkshire Police, and an order was necessary to protect them from further anti-social acts by him.

After the case Inspector Andrew Croasdale, of the North Bradford Neighbourhood Policing Team, said: “We are pleased that the courts have noted the seriousness of Bates’ offending and the threat that he has posed to our police officers and Police Community Support Officers.

“This order will remain in place when he has served his sentence and should serve as a warning that assaults on police officers will not be tolerated.”