A homeowner was treated for smoke inhalation after trying to put out a fire in a bedroom at a Bayshore Drive home Tuesday.

Milford Fire dispatch received a 911 call from an alarm monitoring company at about 12:25 p.m. Tuesday, reporting an activated fire alarm at 45 Bayshore Drive Extension.

Firefighters from Quint 5 arrived on the scene and found the homeowner, who reported there was a moderate smoke condition on the second floor. A hose-line was advanced into the structure, where a fire was found in the second floor bedroom, firefighters said.

Crews from Car 4, Engine 1, Tower 1, and Engine 6 arrived on the scene to assist.

Firefighters extinguished the small blaze rapidly and confined the flames to the bedroom. Smoke damage extended throughout the majority of the single family structure, according to fire officials.

The homeowner made an attempt to extinguish the fire before fire crews arrived. He was treated on the scene for smoke inhalation and exposure by Milford Fire Paramedics.

Milford’s Fire Marshal’s division is investigating and a cause is yet to be determined.

“When a structure fire occurs, it is imperative to evacuate the residence and call 911 from outside of the building,” fire officials said in a prepared statement. “Attempts to extinguish the fire should be left to properly trained and equipped fire personnel.”