In October 1781, the war<span> virtually came to an end when General Cornwallis was surrounded and forced to surrender the British position at Yorktown, Virginia. Two years later, the </span>Treaty of Paris<span> made it official: America was independent.</span>