The Declaration of Independence was written before the American Revolution. It was adopted by the Continental Congress on July 4, 1776, and it declared the 13 American colonies independent from Great Britain. The American Revolution began in 1775 and ended in 1783, with the signing of the Treaty of Paris.