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
Following the promise of further powers for Scotland, David Cameron is now talking about a new deal for the other home nations.
The Suitsy: Man creates business suit onesie
Alex Salmond has announced his intention to end a 24-year career at the forefront of Scottish politics. Here is a brief look at his career.