The Declaration of Independence was primarily written by Thomas Jefferson between June 11 and June 28, 1776. It was adopted unanimously by the Second Continental Congress on July 4, 1776, in Philadelphia. The document explained why the thirteen American colonies regarded themselves as independent states, no longer subject to British rule.