After the Battle of Yorktown, the British realized that the war was too costly to continue. Both sides sent representatives to France to work out a peace agreement. The Second Treaty of Paris was ratified or approved by Congress in September of 1783.
After the Treaty of Paris was signed, the British ended their occupation of New York City. The treaty was a success for the American Patriots. Great Britain agreed to recognize the United States as an independent nation.