Firefighters have contained a wildfire near the Spanish capital Madrid, in the Tres Cantos area, which killed one person and prompted the evacuation of 180 people, regional authorities said on Tuesday.
Favourable overnight conditions allowed for the fire to be contained, the Community of Madrid said in a statement.
A man who had been taken by helicopter to the La Paz hospital after suffering burns on 98 per cent of his body, later died, the Community of Madrid said.
The fire affected more than 1,000 hectares.
A prolonged heatwave in Spain continued on Tuesday, with temperatures set to reach 44 degrees Celsius in some regions, according to meteorology service AEMET.
Scientists say the Mediterranean region's hotter, drier summers put it at a high risk of wildfires. Once fires start, dry vegetation and strong winds can cause them to spread rapidly and burn out of control, sometimes provoking fire whirls.

Former US VP Dick Cheney dies at 84
Dozens killed, army helicopter downed as Typhoon Kalmaegi hits Philippines
Trump threatens to cut funds for New York City if Mamdani wins mayoral race
Worker trapped under collapsed medieval tower in Rome dies
Saudi Crown Prince bin Salman to visit Trump in White House
Australia to offer three hours free solar power daily to millions
Man charged with 10 counts of attempted murder after knife attack on UK train
Tanzania's Hassan sworn into office after deadly election violence
