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
Kim Dick spoke about her fears as she comforted a young Manchester Arena victim as she waited anxiously for news of her own family.
The parents of a York student who appealed on facebook after they went missing in the Manchester terror attack have been confirmed dead.
Some children, particularly those who have been more directly affected, may show symptoms of stress and trauma.