Kevin Philip Patrick Mooney was sentenced to community service after admitting uploading the threats in retaliation after armed officers searched his house last year.

The Magistrate’s Court heard he was arrested after people forwarded the threatening messages to the police.

Mooney (43), of Grève d’Azette, broke down in tears when he was interviewed the next day and said the posts were probably a cry for help.

It was accepted by the court that the defendant suffered from mental health problems and that the actual threat level to the officers was low.

Mooney pleaded guilty to sending messages of a menacing character via a telecommunications system and was sentenced to 70 hours of community service.

Police legal adviser Advocate Chris Baglin said the offence was committed between 10.15 pm and 10.45 pm on 17 November when Mooney was alone at home.

Advocate Baglin said the messages were of a ‘menacing character’ and contained photographs and a ‘firearms threat’ to former and serving officers.

In one comment, the defendant said: ‘It has taken me five months to get your address and I am coming to get you.’

Advocate Baglin told the court: ‘By extension, there was not only a threat to the officers but to their families as well.’

When interviewed by the police, Mooney said he was ‘angry about events of May last year when there was a warrant executed at his home by armed officers’.

‘He said that this caused psychological damage to him and his family and in response, he wanted to cause the officers psychological damage,’ said Advocate Baglin.

During interview, when asked if there was any intention to carry out the threats, Mooney said: ‘I don’t know. I just wanted to fight them.’

He told the interviewing officers that he had contacts in Liverpool and Amsterdam who could execute the threats but as the interview continued Mooney became tearful and started to express remorse. He said that the messages were probably sent as a cry for help as he had no one to talk to.

Advocate James Bell, defending, said that his client had relapsed and drank alcohol on the day of the offence after a long period of abstinence. He said that Mooney committed the offence ‘under a weight of emotional distress he was facing at the time’.

The lawyer said to Relief Magistrate Sarah Fitz: ‘I urge you to see this as an isolated incident and one that will not be repeated. He sincerely regrets the impact on other people.’

Advocate Bell added that Mooney had offered to write a letter of apology to everyone involved.

In sentencing, Ms Fitz said that she accepted it was a ‘one-off incident’ and that there was a low risk of violence.