MADISON, Wis. -

A dog was rescued from an east side apartment that sustained $25,000 in damage from a fire Thursday afternoon, officials said.

Firefighters responded to 2110 E. Johnson St. around 1 p.m. for reports of a fire in a downstairs apartment of a four-unit building, according to a release.

A resident told police he could smell smoke and heard smoke alarms sounding in an apartment across the hall, officials said. He called 911 and tried alerting others but no one else was home.

Officials said the caller told dispatchers there was a dog in the apartment.

Firefighters said they saw heavy smoke coming from the back of the apartment building. They entered the apartment and saw flames coming from the bathroom.

The fire was extinguished and the dog was removed from the apartment unharmed, according to the release.

Officials are investigating the cause of the fire.