Prison is the harshest possible way to prevent the offender from continuing to bully. As the crimes were committed online the offender can be cut off from the internet, or simply banned from the sites where he was committing the offence.