A man who posted anti-Muslim messages on social media and made a threat to kill Labour leader Jeremy Corbyn has been jailed for 16 months.

Jonathan Jennings used platforms such as YouTube and GAB – billed as the “free speech” social network – to make Islamophobic statements inciting religious hatred.

Prosecutors revealed the 34-year-old man from Carmarthenshire had written posts calling for all Muslims to be gassed and to be forcibly sterilised. He claimed those who tried to convert others to Islam should be sentenced to death.

He repeatedly called for the murder of Muslims and supported “bomb a mosque day” suggested by another extremist, Nigel Pelham, who was jailed last year.

Sentenced at Swansea Crown Court on Thursday, Jennings pled guilty to four offences of inciting racial hatred and another six offences related to the sending of material with the intention of causing distress and anxiety.

The Crown Prosecution Service today said his jail sentence “reflects the seriousness of his crimes.”

Between March and August last year, Jennings also posted a series of threatening messages about left-leaning public figures and one about the Jewish community, alongside his diatribes about British Muslims.

In March 2017 he called Gina Miller – the prominent lawyer who led a legal challenge against Brexit – a traitor and called for her to be executed.

A few months later he said if Jeremy Corbyn became prime minister he would be first in line to “Jo Cox him” – a reference to the murder of the Labour MP by a right-wing extremist back in June 2016.

Another message stated that Hitler was born a 100 years too soon. He went on to threaten the Jewish community, saying if they did not behave themselves they would share the same fate as Muslims.

Deb Walsh from the CPS said: “Jonathan Jennings’ hatred of Muslims led him to post online messages stirring up animosity towards a whole community.

“He did not limit himself to expressing his views but called on others to indiscriminately kill Muslims and bomb mosques. Jennings also targeted the Jewish community and called for public figures whose views he did not like to be executed.

“The prison sentence reflects the seriousness of his crimes.”

Back from the Front: Inside the mind of a reformed UK far-right extremist Show all 4 1 /4 Back from the Front: Inside the mind of a reformed UK far-right extremist Back from the Front: Inside the mind of a reformed UK far-right extremist A new start: Matthew Collins now works for the anti-fascist organisation, Searchlight and has just published a book on his life David Sandison Back from the Front: Inside the mind of a reformed UK far-right extremist Collins says: 'Breivik had the same aim as I used to - acts of violence that will lead to a civil race war' David Sandison Back from the Front: Inside the mind of a reformed UK far-right extremist The aftermath of July Oslo bombings - for which Anders Breivik claimed responsibility AFP/Getty Images Back from the Front: Inside the mind of a reformed UK far-right extremist Anders Breivik murdered 77 people in Oslo Reuters

Detective Superintendent Jim Hall of the Wales Extremism and Counter Terrorism Unit said: “We are committed to tackling all forms of extremism which has the potential to threaten public safety and security.

“Such was the strength of evidence of Jennings’ activities that he entered guilty pleas to all of the offences.

“There have been a number of successful prosecutions over recent years and this is testament to the work of police teams up and down the country."

DS Jim Hall hailed the help of the public in identifying incitement of racial hatred and other forms of extremism.

“Nobody is better placed to detect something that is out of place in their communities than the people living in them,” he said. “To effectively combat the terrorism threat the police, businesses, government and the general public need to work together.”