Many ideas from the Enlightenment influenced the Declaration of Independence. For example, John Locke's idea that everyone had natural rights and the right to overthrow the government influenced Thomas Jefferson greatly.
It was an attempt to assert the rights of the colonists while maintaining their loyalty to the British crown. to best if my knowledge hope this helps you out..