It's one way to get Santa's attention.

A man violently attacked a police cruiser during this year's Santa Claus parade.

A Saskatoon man pleaded guilty in court to trying to release a prisoner from the back of police cruiser on Sunday.

"He was violently shaking the car to release her," said prosecutor Paul Goldstein.

"He was sweating profusely and rambling."

The man said that he was sweating heavily because he had recently come off the methadone program – after 13 years.

The man was sentenced to 30 days in jail and ordered to pay a $200 victim surcharge.