When police showed up to arrest a Ballarat man over abusive messages sent to his on-off girlfriend, he turned on them.
Connor Keating refused to follow the direction of officers in September 2020 and even taunted them that "it does nothing to me" when he was sprayed with capsicum spray.
Keating threw punches at an acting sergeant and a constable grabbed his arm, in an effort to restrain him.
The pair fell to the ground and wrestled. Keating got on top and put his arm around the officer's neck and squeezed.
The constable tried to cry out but couldn't speak or breathe, his colleague heard him gurgling as he punched Keating's head to try and free himself.
Keating, 23, punched the officer in the head and bit his hand.
The senior officer struck Keating's back and torso before pulling out his Taser.
The shock only gave momentary respite and the constable was able to take a deep breath as Keating briefly loosened his grip.
He was tasered again and gave up.
"OK I've been tasered, I'm done. I give up alright, you got me," he said.
He said he didn't mean to strangle the officer.
"I know you guys are doing your job, I just get angry," he said.
"I'm going back to jail, aren't I? I shouldn't have strangled him."
He pleaded guilty in Victoria's County Court to charges including assaulting an emergency worker, intentionally causing injury and reckless conduct endangering life.
Judge Douglas Trapnell said Keating had an intellectual disability, an IQ of 65 and had been on a disability support pension since he was 17.
He started using methamphetamine and cannabis at 16.
Keating had been in custody since his arrest.
He sentenced him to time served, more than 500 days.
Keating will be required to do 400 hours of unpaid community work over the next three years.
Half of that time can be spent receiving drug, alcohol and mental health treatment.