In 1784, The Treaty of Paris ended the war.
Treaty of Ghent
I'm assuming you mean the War of American Independence (AKA The Revolutionary War). That would be the Treaty of Paris, signed in 1783.
The Treaty of Versailles ended World War One. I'm not to sure why this question was in the World war Two category.
Treaty of Paris