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
Frosty, icy start on Sunday with fog patches lingering. In fact the fog patches may be very slow to lift in Lincolnshire
Widespread frost and patchy fog overnight
Wintry showers then frosty tonight, dry and cold on Sunday