The United States gained independence from British rule in the year 1776. The Declaration of Independence was adopted on July 4, 1776, marking the formal declaration of the United States as a free and independent nation, no longer under British control. This event is celebrated annually on the Fourth of July as Independence Day in the United States.