The incident, which was captured on surveillance cameras at Mark Stinziano’s home in Hewitt, New Jersey, in the US, happened just after 8pm on July 9.
In the footage, the black bear can be seen exploring the garden and standing on its hind legs to bull down a bird feeder, before the neighbour’s dog, Riley, appears from next door and sprints towards it.
At first, the bear watches the dog approach and it is not until the dog launches itself towards the larger animal that the bear appears to realise it is being targeted, and runs away.
According to the New Jersey state website of the Department of Environmental Protection, black bears are the largest land mammal in New Jersey and they are attracted to urban neighbourhoods by the smell of rubbish.
Riley’s owner, Alan Tlusty, said his dog chases any bear that appears in the garden, and Mr Stinziano said the dog sometimes watches over his children when they are in the pool.
The department recommends residents secure their rubbish to help stop bears being attracted and creating a nuisance.
ga('create', 'UA-72310761-1', 'auto', {'name': 'pacontentapi'});
ga('pacontentapi.set', 'referrer', location.origin);
ga('pacontentapi.set', 'dimension1', 'By Izzy Wightman, PA');
ga('pacontentapi.set', 'dimension2', '484e372f-774e-4b14-b1a1-d62e98b35bfb');
ga('pacontentapi.set', 'dimension3', 'paservice:news,paservice:news:world,paservice:viral,paservice:viral:news');
ga('pacontentapi.set', 'dimension6', 'story-enriched');
ga('pacontentapi.set', 'dimension7', 'composite');
ga('pacontentapi.set', 'dimension8', null);
ga('pacontentapi.set', 'dimension9', null);
ga('pacontentapi.send', 'pageview', { 'location': location.href, 'page': (location.pathname + location.search + location.hash), 'title': 'Watch: Dog chases bear away in David v Goliath battle'});