The main building was burned by the British in 1814 during the War of 1812. Afterward, when the building was being restored, the smoke-stained gray stone walls were painted white. The name “White House,” however, was not used officially until President Theodore Roosevelt had it engraved on his stationery in 1901