WESTPORT — A more than a century-old barn off Main Street was heavily damaged by fire early Thursday morning.

When firefighters arrived on the scene just before 3 a.m. they found the barn fully involved.

Flames quickly spread through the barn that is located behind 265 Main St.

Units arrived to find heavy fire in a barn that contained a multiple-bay garage, second-floor living area, as well as a storage area.

Upon arrival, fire companies laid a supply line to a nearby hydrant and applied heavy water in order to achieve quick knock down of the fire. Crews made entry and conducted search and salvage operations of the building.

Fire departments for area towns were also called to the scene and to cover Westport Fire Headquarters. Units remained on scene until the early morning hours extinguishing hidden fires, conducting salvage operations and securing the structure.

Fire officials are investigating the cause of the blaze. They will be remaining on scene until the investigation is complete. The reason for the fire still undetermined and will remain so until the investigation is complete.

According to Westport property records, the two-story barn was built in 1900. A one-room residental studio on the second floor contains 480 square feet of living space. Records list the replacement cost of the converted barn at $145,500.

Records list Karen J. McCormack as the property owner.

The barn is on property that includes a Colonial-style house that was built in 1805.