Police say a Massachusetts man attacked his ex-wife's lawyer with a hatchet and wasp-killing spray, and the victim needed nearly two dozen staples to close wounds on his face.

Fifty-three-year-old Michael Kelly pleaded not guilty Friday in Quincy District Court to attempted murder and assault charges. He's being detained without bail pending a dangerousness hearing.

Police say Kelly sprayed wasp-killing solution in the victim's face, then bashed him in the head with the hatchet Tuesday night in a Quincy parking garage.

Prosecutors say Kelly and the lawyer had a contentious relationship.

A public defender who represents Kelly said Friday that witnesses gave conflicting statements.