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
The only Muslim survivor of the 7/7 terror attack in London has urged the country to stand together against Islamophobia.
The 75-year-old man was helping a second man rescue two teenage girls, who had got into difficulties in the water.
Americans celebrated 239 years of independence yesterday. Here are some of the best pictures.