Sentencing Rigby, Mr Justice David MacKay told him:
The jury has convicted you of the murder of this little boy. You don't need me to tell you what a terrible crime that was.
You abused that trust by punishing him physically in quite a revolting way.
It's a chilling, terrible picture. He suffered considerably before he died, I am satisfied. He was a vulnerable boy. You abused your trust.
The judge said he did not think Rigby intended to kill Rio but had a "sudden loss of temper" and "set about him, inflicting the fatal blow".
More top news
Nearly 38,000 runners will hope to complete Sunday's London Marathon making it the biggest event in its 35-year history.
Rain across central Britain with longer, intense downpours with thunder in places this evening. A lucky few will stay sunny and dry.
Planning on going to the London Marathon tomorrow? Read our handy guide first!