 A group hugged outside court as the man was sentenced