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
New figures show that just one percent of railway stations fitted with smartcard readers are in the North.
Storm Imogen is coming but what does it mean for us? Emma Jesson has the latest.
A service has been held in memory of a mother and two children who were killed in Allerton Bywater last week.