Despite widespread shock at the death of Leeds schoolteacher Ann Maguire, magistrates in Swansea heard Robert Riley saw fit to make fun of the tragedy online two days later.
Despite a backlash from other Twitter users horrified by his messages, the 42-year-old remained incredulous, saying: "Of all the sick things I've tweeted, starvation, genocide, rape and torture, it's the teacher from Leeds that outrages everyone the most."
More top news
Through this evening and overnight it will remain cloudy with some persistent rain and drizzle by dawn.
A couple from Wales, who moved to South Africa to live 40 years ago, have been killed on their farmland estate there, police have confirmed.
Our Valleys Correspondent Hannah Thomas has been spending time discovering why the people who live in the Valleys love their communities.