The boy admitted to have attempted four sexual assaults on his sister.
In a victim impact statement, the girl, now eight, said: "I feel sad what he did, but want him to go to our house so we can play games with him. I love him."
The judge, who was hearing the case said, “The ease of access to hard core porn can be linked to the very worrying rise in the number of sexual offences on children committed by children."
A spokesman for Microsoft, which makes Xbox, said: “We have the greatest sympathy for all involved in this case.