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
ITV Cymru Wales will publish the final poll of the Welsh Assembly Election 2016 campaign on Wednesday this week.
A mostly cloudy day with outbreaks of light rain and drizzle at times, mainly over the mountains where it could occasionally turn heavy.
The parents of a young boy from Anglesey say they're determined to find a missing dog that was bought to aid his recovery from surgery.