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
Dancing On Ice champion Jake Quickenden has revealed he will be singing as well as skating on the show's spin-off tour.
What does the weekend have in store for us? Here's the early morning weather with Jon Mitchell.
The Humberside Police officer claimed to have reviewed CCTV footage in relation to a rape investigation but had failed to do so.