What was the purpose of writing the Declaration of Independence?

to show tHAT WE WERE FREE AND WE NOW HAD LIBERTY