A man has admitted posting offensive messages on Twitter in the wake of the murder of Leeds teacher Ann Maguire.
Forty-two-year-old Robert Riley from Port Talbot was granted bail by magistrates in Leeds.
His solicitor said he was mortified by what he had done and apologised.
He will next appear at Swansea magistrates court on Thursday.
More top news
A single-decker bus was pulled from the seas in Cleethorpes after it was found abandoned in the water.
Boxing trainer Brendan Ingle MBE has passed away at the age of 77
A murder investigation has been launched after a 15 year old boy has died in hospital last night in the Lowedges area of Sheffield.