A 42-year-old man from Port Talbot has admitted posting abusive Twitter messages about the death of school teacher Ann Maguire.
Robert Riley appeared before magistrates in Leeds today where he admitted sending a message of a grossly offensive, abusive or malicious character.
Mr Riley has been granted bail and is due to be sentenced at Swansea Magistrates' Court on Thursday.
He was the second person to be charged with the offence in the wake of the death of Mrs Maguire, who was stabbed to death in her classroom at Corpus Christi Catholic College in Leeds, a week ago.
More top news
Not a bad couple of days ahead as the high pressures brings settled conditions. The Bank Holiday Weekend is looking generally fine and dry!
Changes in entry patterns, along with new maths qualifications, have impacted on this year's grades - though A* results remain stable.
Can you remember how old you were when you learned to tie your shoelaces, ride a bike and when you were allowed to walk home on your own.