Firefighters put the blaze out Thursday that destroyed a Williamsburg warehouse and sent smoke into the air for miles.

It took more than 200 members of the FDNY nearly six days to extinguish the seven-alarm blaze, which was fueled by the paper records stored at 5 N. 11th St. The FDNY declared the fire under control around 3 p.m., according to a spokesman.

Cold temperatures added to the struggle as the water froze equipment and tools. Flaming debris from the fire, which included archived documents from courts, the health department and other city agencies, went flying into air and was scattered throughout Brooklyn and Queens.

The FDNY said it will determine the cause of the blaze.