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
Most escaping a frost overnight with cloudier skies and patchy rain. Turning colder on Monday stronger northerly winds, rain and hill snow.
By the end of Monday a cold northerly wind, widespread frost and risk of wintry showers
Flying Scotsman travelled alongside three modern trains to celebrate the "past, present and future" of Britain's railway this morning.