During Robert Riley's sentencing, chairwoman of the bench Georgina Scannell voiced her disgust at his "vile" and "offensive" online messages.
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 religiously aggravated.
The offences are so serious that only a period of immediate custody can be justified.
More top news
A dry night with incredibly mild temperatures. Setting us up for another lovely day tomorrow!
Chris Coleman has played down reports linking him to the vacant managers post at Crystal Palace
A woman who has suffered multiple injuries in the Manchester Arena terror attack may have died if her phone hadn't shielded the blast.