Robert Riley, 42, was sentenced to 8 weeks in prison for posting the abusive messages following the secondary school teacher’s shocking death.
He wrote in his Twitter page that he wouldn’t have just killed Ann Maguire, but he would have killed ‘all those b*****d teachers.’
In previous tweets he also referred to Nazi concentration camp Auschwitz as a ‘health spa’ and wrote, horrifically, that 'all Muslim babies should be killed.'
The ex-drug addict was a prolific troll on the social networking site and described himself as having the ‘biggest gob this side of the River Severn.’
![The Twitter troll was jailed for 8 weeks (Twitter)](https://images.bauerhosting.com/legacy/lifestyle-legacy/d6/c4755/ec3aa/1a28c/7c811/54d6f/65dc7/twittertroll_466x466.jpg?auto=format&w=1440&q=80)
He appeared at Swansea magistrate's court where he pleaded guilty to sending grossly abusive, offensive and malicious messages.
Overseeing the trial, chairwoman Georgina Scannell said: ‘The offensive messages outraged the public. You had complete disregard for the tragic death of Ann Maguire.’
‘Besides this, countless other vile messages were made by you. The bench finds these were racially and religious aggravated.’
‘The offences are so serious that only a period of immediate custody can be justified.’
Anne Maguire tragically died at the hands of a pupil in front of a classroom of students.
The student suspected of her murder is set to go on trial in November.