A U.S. man charged after police discovered hazardous chemicals in two Canada locations has been found not guilty of threatening police and possessing a dangerous weapon.

Christopher Burton Phillips, 42, was arrested inside a hotel in Ottawa in January after police found a large stockpile of his chemicals at a home and cottage in Nova Scotia.

The chemicals prompted evacuations in Nova Scotia and at the hotel where he was found.

A judge found him not guilty Wednesday. He had pleaded not guilty to charges of threatening police officers and possessing the chemical osmium tetroxide.

His lawyer has said his client was joking when he sent an email to a friend suggesting he could throw some of the chemical at officers if they entered his home.