On November 13, 1762, Spain gained the Louisiana Territory from France in the Treaty of Fontainebleau.