Former Salisbury City Councillor Mark Mewse, 64, has stepped down, offering heartfelt apologies to the residents he once served.
Mewse was found guilty of harassment at Salisbury Magistrates Court last month.
The hearing heard details of Mewse's attempts to win back an ex's affections by buying gifts her cats.
The court heard how Mewse unleashed a barrage of messages upon his former partner.
Mewse, of Cranesbridge Road, was the councillor for Stratford and St Francis on Salisbury City Council.
A by-election will be held to elect a new councillor.

Goose Fair Crowds Raise £16k for Salisbury Hospice Charity
Red Arrows to Celebrate Longleat Safari Park's 60th Anniversary with Fly-Past
Salisbury Bemerton Community Board has been successfully established
Salisbury City Council launches Living Legacy Project with 800 trees for the City
National award on the slate for local roofing company
South Western Railway launches crackdown on ‘short-faring’
PCC launches public survey on Government's proposed police reforms
Hatch House Open Garden returns Sunday 30th August in support of Salisbury Hospice Charity
