When did it end?

On the 21st of January, 1783 when a treaty was signed at Paris acknowledging the independence of the United States.

#REV30