Following General Burgoyne’s surrender on October 17, the Kingdom of Morocco became the first country in the world to officially recognize the independence of the United States on December 20, 1777; however, the French foreign minister, Charles Gravier, count de Vergennes, officially acknowledged the U.S. as an independent nation on December 17. France later codified this recognition on February 6, 1778, with the signing of two treaties in Paris. The Netherlands recognized the U.S. in 1782 with Portugal, Spain, Sweden, Venice, and Great Britain following suit in 1783.