Paul Anthony Tennyson (42), from Gortgonis Road, Coalisland, was also ordered to carry out 100 hours of unpaid Community Service.
Tennyson admitted assault on police, disorderly behaviour, resisting police and harassment of a former partner on dates between April and June this year.
Relating one of the incidents, prosecuting counsel said Tennyson became aggressive towards police officers who received a 999 call about a fight in Irish Street, Dungannon.
She said on arrival there was no fight but several people in a flat started shouting at police.
Police spoke to Tennyson who was intoxicated, which was in breach of his court bail, counsel said.
The lawyer said he became aggressive towards officers, “tensing up” as handcuffs were being applied. He kicked out at a constable striking him on the left shin and attempted to spit on another police officer.
A defence lawyer pointed out that all the offences happened over a two-month period when Tennyson was having “alcohol issues”.
He said the defendant, who was a frabricator but now receiving benefits, had taken steps to address these issues.
Sentencing Tennyson, District Judge Michael Ranaghan told him to comply with any programmes recommended by the Probation Service.
The judge said it was clear that the defendant’s alcohol problem had been a factor in his offending, particularly with regard to the police.
He warned Tennyson that if he breached the order he would serve a custodial sentence.