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
Rather cool with some showers
A mother has brought her daughter back to their fire-ravaged home - the place where she lost her husband and her other daughter.
Rotherham born referee Howard Webb talks to Calendar about his autobiography 'The Man in the Middle'