He helped negotiate the treaty of 1783, by which Great Britain formally recognized the independence of the United States, and arranged the terms of a commercial treaty signed by France and England in 1786.