A huge fire, thought to have been ignited by New Year fireworks, destroyed nearly 1,000 homes and killed at least three people in a slum in Manila.

manila fire
A man stands on a roof as he watches a fire engulfing a slum area in ManilaNoel Celis/AFP
manila fire
Firefighters try to put out a raging fire that engulfed around 2,000 houses in Quezon city, Metro ManilaRomeo Ranoco/Reuters
manila fire
A dog flees a fire engulfing a slum area in ManilaJay Directo/AFP

Strong winds in the region helped the fire spread through nearly a half-mile long line of shanties as firefighters struggled to reach the area through its narrow lanes.

Firefighters recovered the body of a woman and two other residents who were trapped in their houses after rains helped douse the six-hour inferno.

manila fire
Residents look at a charred body inside the remains of a homeErik de Castro/Reuters
manila fire
A man looks out at the remains of houses gutted by the fireErik de Castro/Reuters
manila fire
People sift through the ruins of their homesErik de Castro/Reuters

Three people were injured, including a firefighter, whose three fingers were ripped off by metal shrapnel from an exploding tank of cooking gas, the Bureau of Fire Protection said.

Residents struggled to save anything they could from the fire, including cats and dogs, with many using improvised floating devices to cross a murky river and escape the flames.

manila fire
A woman carries her pet dog to safetyRomeo Ranoco/Reuters
manila fire
A boy saves his bike as the fire rages behind himNoel Celis/AFP
manila fire
A resident rescues some furniture from the fireJay Directo/AFP
manila fire
Some of more than 1,500 families made homeless by a fire in a shanty town in Manila seek temporary shelter on a basketball courtJay Directo/AFP

At least 17 fires raged across the Philippines prior to and during New Year's revelry. At least seven people died in two of the fires, a spokesman said, adding that some of the flames were believed to have been ignited by illegal firecrackers.