John Nimmo, who pleaded guilty to sending "menacing" tweets to a feminist campaigner, also targeted Labour MP Stella Creasy, a court heard.
Prosecutor Alison Morgan said Ms Creasy had suffered a "substantial impact" as a result of "these events."
More top news
Sleet and snow for some parts of Scotland. Elsewhere in the UK will be cold, cloudy and with some showers.
At least 52 people have been killed after a fight broke out between two rival drugs gangs in a Mexico prison.
Lord Coe has accused Nestle of hypocrisy following its decision to withdraw sponsorship from the IAAF Kids' Athletics Programme.