Published: Oct 21, 2011 3:09 PM EDT

MACCLENNY, Fla. (AP) - Wildlife officials euthanized a black bear that recently went into a north Florida home and helped itself to food and birthday cake.
    
Florida Fish and Wildlife Conservation Commission spokeswoman Karen Parker says the bear was put down Wednesday after attempts to tranquilize it failed.
    
The Florida Times-Union reports that officials began tracking the bear after it went inside a home Oct. 3. They found remains of the cake and garbage off a trail near the house. Last week officers tried to sneak up on the bear and tranquilize it, but that failed.
    
The bear became aggressive as officials and dogs tracked it Wednesday. Parker says the bear was killed by a single shot to the head.
    
Parker says it was a matter of public safety.

(Copyright 2011 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)