The police officer attacked by Angela Walmsley described the experience as the worst of her eight-year career.
A statement from Pc Sally Kelly was read out at South Tyneside Magistrates’ Court.
It said: “I have been a police officer for eight years and have never experienced that level of violence.
“I feared for our safety.
“I was in a vulnerable position and wasn’t able to see whether anyone else would join in with the attack.”
Speaking after the court hearing, Northumbria Police and Crime Commissioner Vera Baird described the assault as “disgraceful”.
She said: “Policing can be a dangerous business and this incident vividly demonstrates the violence officers can sometimes face on their duties.
“This was a disgraceful attack on an officer who was carrying out her work.
“I know the force takes every step possible to protect its officers, but when attacks like this happen we look to the courts to deliver an appropriate sentence, to send a warning to others that this kind of behaviour is not acceptable.”