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
A row has erupted in the Senedd after Cymdeithas yr Iaith refused to answer questions by UKIP in a committee hearing.
The Senedd's told how Chelsea Manning is recalled at her Welsh school. Simon Thomas AM also described her "severe" prison conditions.
A single mum was 'unlawfully' jailed for 40 days for not paying Council Tax, a High Court Judge has ruled.