Trial begins for man accused of attacking veteran officer