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
Cloudy with some heavy pulses of rain
The 50th anniversary of the first Harrogate International Festivals is seeing 50 new trees being planted in the town.
Work has started to begin to remove cladding from Hanover tower block in Sheffield