Prosecutor Linda Baker told the court that following a complaint to police, other offensive tweets by Robert Riley came to light.
Among them were messages about the missing Malaysian plane, the Korean ferry disaster and champion tennis player Serena Williams.
More top news
The family of a girl who died of an asthma attack after a GP turned her away, are speaking out after the doctor only got a written warning.
Into the Ark were victors in The Voice on Sunday. They join Cardiff's Jamie Millar and Llwydcoed's Victoria Kerley in the next round.
Most of us drink alcohol to socialise or relax. But for some, drink becomes everything.Dr. Julia Lewis explains the complexity of addiction.