When did the United States become and independent country?

in the year 1776 or 1783 when the declaraTION OF INDEPENDECE was signed