A Whanganui man contravened a protection order when he went to the address of his victim and smashed the glass door of a garden shed.
Michael Hamilton committed the offending soon after he had been sentenced to supervision for threatening to kill the same victim.
Hamilton pleaded guilty to contravening a protection order and doing wilful damage. He appeared for sentencing in Whanganui District Court on Monday.
Judge Philip Crayton said the offending occurred on November 23 when Hamilton entered the victim's home and was acting unreasonably.
"You were asked to leave, but you refused and you picked up her car keys and put them in your pocket," Judge Crayton said.