A hungry bear plucked apples from a tree in a homeowner’s backyard that backs up to a hillside Thursday morning, officials said.

A resident on Fernridge Drive and San Dimas Canyon Road called the San Dimas Sheriff’s Station around 8:15 a.m. informing police that a bear was eating some fruit in her backyard, Deputy Randall Bynum said.

Police went to the property to ensure that the bear was not endangering anybody.

By the time police arrived, the bear had taken off, Bynum said.

“One of the deputies said he believed it was the same bear that had been seen roaming around” in recent weeks, Bynum said.

It was not threatening anyone, he said.

Residents are encouraged to make sure that their trash is secure or placed inside the garage to prevent bears from going through it.

“Aside from that, if they are going to come down, they will come down. There’s not much you can do,” Bynum said.

The California Department of Fish and Game has instructed police that if there is a bear, “just let them do their thing, as long as they aren’t threatening anyone,” Bynum said.