When Did the White House Burn Down?

The white house burned in 1814, however, it did not fully burn down. The fire was set by British troops. After the fire only outer wall really remained.