SHERBORN (CBS) – A harness and bulldozer were used to rescue a horse that was stuck in the mud at the Sherborn deputy fire chief’s farm.

The horse wandered into the mud around 5:45 p.m. Tuesday night on North Main Street, sinking up to its chest.

READ MORE: LOOK: Killer whale spotted by fisherman off Nantucket

A horse was rescued in Sherborn after getting stuck in the mud. (WBZ-TV)

A horse was rescued in Sherborn after getting stuck in the mud. (WBZ-TV)

While attempting to rescue to the horse, firefighters were dealing with difficult footing. Several times, rescuers began to sink into the ground.

READ MORE: Boston makes top 20 in ranking of America's 'best places to live'

A sling used to rescue large animals was brought in and attached to a bulldozer, which lifted the horse onto solid footing.

In total, the rescue and removal of the bulldozer took about three hours.

MORE NEWS: Weekend heat likely to break records with low-mid 90s in the forecast

The horse was tired and cold, but appeared to be unhurt otherwise.