The judge told Mark Weekes: "You could have killed him"