A sentence of 160 hours community service was imposed on a 34-year-old man last Friday at Craigavon Magistrates Court.
Charles Thomas Ward, Enniskeen, Craigavon, admitted disorderly behaviour at Moyraverty Court on July 27 last year.
The court heard that at 9.50pm the defendant shouted towards police in a loud and aggressive manner. He used abusive language and there were young children in the area.
As the police car drove past him he made actions in his genital area.
He continued to shout abuse.