MADISON, Wis. (AP) -

Madison Police Chief Noble Wray is trying to fire a police officer for alleged misconduct that happened before he fatally shot a local musician last fall.

Wray filed a lengthy complaint late Friday with Madison's Police and Fire Commission against Officer Stephen Heimsness.

The Wisconsin State Journal reports Wray alleges the officer violated departmental conduct rules repeatedly in the months before the shooting, including using insulting, defamatory or obscene language in computer messages to other officers, disrespecting his supervisors, and failing to take proper care in handling weapons.

Dan Frei, president of the Madison Professional Police Officers Association, says Heimsness' actions do not constitute grounds for dismissal.

A high-profile investigation earlier cleared Heimsness in the fatal shooting of Paul Heenan during a struggle at a home last November.