BOWDOIN, Maine — Fire tore through a barn on Huffs Mills Road overnight Saturday, but firefighters managed to save the nearby home.

David Ward, who lives at 195 Huffs Mill Road, called for help shortly before midnight Saturday.

When Bowdoin Fire Chief Tom Garrepy arrived at the house, the fire had fully engulfed a roughly 30-foot-by-30-foot barn, and most of the barn had collapsed onto the ground, Garrepy said.

The barn, which was within about 30 feet from the house, contained three 250-pound liquid propane tanks, two of which had already been “vented” to prevent them from exploding.

“My primary concern at this point was, we need to have large quantities of water and we’re in a tough spot here,” Garrepy said.

The fire died down quickly, he said.

Firefighters and multiple engines and tankers from Bowdoin, Richmond, Bowdoinham, Litchfield, Dresden, Topsham and Lisbon assisted.

A horse sheltered in the barn was outside at the time of the fire and was unharmed. Several tools and pieces of equipment, including an all-terrain vehicle, were destroyed.

The cause of the fire is under investigation. Garrepy said an investigator from the state fire marshal’s office was expected to be on scene on Tuesday.

“It was a great job by all people involved and we managed to save the house,” Garrepy said. “I think that had that [fire] been earlier today with the high winds we had and the red flag day, it would have been a different story.”