They just needed 30 seconds more, a firefighter sergeant said.
He had thrown a rope with an improvised harness to a man hanging from a burning building in Sao Paulo's old downtown, and the man managed to secure his leg and shoulders.
But just as the sergeant's team was ready to tug the man away, the building collapsed like a pile of dominoes, pulling the man into a cloud of red-hot debris.
Brazilian TV broadcast the dramatic rescue attempt and the collapse of an abandoned government building that had been occupied by squatters.
By the end of the day, only the man whose rescue failed was believed dead.