A student accused of making racially offensive remarks on Twitter following the collapse of football player Fabrice Muamba will appear at Swansea magistrates court.

Liam Stacey, a 21-year-old student at Swansea University from Pontypridd, Wales, has been arrested on charges of a racially aggravated public order offence.

Muamba collapsed during an FA Cup tie between Bolton and Spurs. He was reported to have suffered a heart attack and is still in intensive care.

Stacey has claimed that the comments about Muamba were not his own views and that his account had been hacked into.

Among the comments on his Twitter feed, @LiamStacey9, were: "LOL. F*ck Muamba. He's dead!!! #haha."

Prominent black members of the Twitter and football community condemned Stacey's tweets, with former Liverpool and Nottingham Forest striker Stan Collymore saying: "@LiamStacey9 Your sick tweets have been passed on to the police."

A spokesperson for Swansea University said the university had dissociated itself from the comments and had begun disciplinary procedure.