YAAK, Mont. (AP) – A 17-year-old grizzly bear has been relocated in northwest Montana after killing a domestic pig.

Montana Fish, Wildlife and Parks officials say the 524-pound male bear was trapped in the Seventeen Mile Creek area of the Yaak on Thursday and moved to a different area of the Yaak the same day.

The small pig was killed Sept. 25. Wildlife officials loaned the owner an electric fence to secure the rest of their small livestock, set a bear trap and caught the bear four days later.

The pig killing was the grizzly’s first known conflict with humans.

Copyright 2016 Associated Press. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.