Man found guilty in attempted first-degree murder of officer