Why was the Declaration of Independence?

The declaration of independence was written and enforced to declare America’s independence from England. It’s what gave America freedom from being ruled by England. It was the foundation of what made America what it is today.