When was the United States Established?

The United States were established on July 4, 1776 after gaining its independence from Britain. Independence was achieved after the fighting of the Revolutionary War.