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
Described as the 'hidden disability', autism affects how people perceive the world and interact with others.
A driver from Newport has been handed a 21 month sentence behind bars after wracking up a number of driving offences.
A man whose shoe print was found at the scene of a sex crime has been jailed for 10 years.