Liam Stacey's sickening tweets, which mocked Fabrice Muamba moments after the footballer collapsed after having a heart attack, can now be revealed.
As Muamba, 23, fought for life on the pitch, Stacey - a 21-year-old student at Swansea University - provoked revulsion with his hate filled abuse.
Police were inundated with complaints as members of the public, including ex-footballer Stan Collymore, reported the student's comments.
Stacey, a Swansea University biology undergraduate, was quickly tracked down and arrested.
The first of Stacey's messages began with "LOL (laugh out loud). **** Muamba. He's dead!!!"
A number of people took him to task for his views and he responded with a further string of offensive comments aimed at other Twitter users.
Stacey broke down as he was taken away in handcuffs to a holding cell beneath Swansea Magistrates' Court.
He was led past the public gallery, where he was briefly embraced by friends and his parents as he shook with emotion.
Moments earlier, District Judge John Charles told him: "In my view there is no alternative to an immediate prison sentence."