Image copyright Bob Belfiore Image caption The bear tried to get through several doors before wandering off

A bear in the US state of Connecticut would not take no for an answer after showing up at a homeowner's back porch for fresh-baked brownies.

The unwanted ursine guest managed to rip off the screen door, but was unable to open the glass sliding door, even after climbing on to a porch handrail.

A neighbour who came into the house in the town of Avon and took these photos said it was "a harrowing experience".

Bill Belfiore said the black bear refused to be scared off.

"Though it looks cute on the railing, this bear was angry about not being able to get at the food," said Mr Belfiore.

He told emergency responders: "We have a bear attempting to get into a house and he's not afraid of noise, screaming or yelling or pounding."

After pawing at the backdoor - which leads to the kitchen - the stubborn bear tried accessing other doors to the home.

Image copyright Bob Belfiore Image caption Authorities say they will continue to monitor the bear's movements

By the time police responded, the bear had already lost interest and left.

Connecticut's Department of Energy and Environmental Protection (DEEP) has advised nearby residents to take steps to "reduce encounters and potential conflicts" with black bears.

They said the state's bear population has been growing, and that they become more active in the spring time.

"If you genuinely care about bears, you should never feed them - either intentionally or unintentionally," DEEP deputy commissioner Susan Whalen said last month.

She said bears have lost their fear of humans are more likely to become a "nuisance" animal.

More on bears

US hiker given warning for rescuing 'abandoned' bear cub

Media playback is unsupported on your device Media caption Two brown bears were rescued from a restaurant and dog hunting centre

Media playback is unsupported on your device Media caption Tourists were chased over a bridge by black bears in Yellowstone National Park in the US, as Lindsey Janis reports for ABC News