Attacked officer grateful for help