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
Welsh soldiers have joined hundreds of others from across the country training in Norfolk.
It'll be a fine day for most, with some good spells of sunshine and light winds, giving a pleasantly warm feel in the sunny spells.
Children's charity NSPCC Wales has called for greater awareness of children who may be exploited through human trafficking.