The Declaration of Independence was written first.
The first written document of laws in America was called the Articles of Confederation.
The first document which formally looks like what is now thought of as a "constitution" is the original United States Constitution. This is the first real document which explicitly (and in great detail) lays out how a country's government is to actual work. In terms of a more basic declaration of the purpose and function of government, the Magna Carta is generally considered to be the first such document.
It was not the first document written in America. The US did not come into being until the document was signed and ratified so in this sense it became the first document in the USA
see http://en.wikipedia.org/wiki/Articles_of_Confederation
The Constitution
A constitution is a document, it does not have "events".
It is a separate document from the Constitution.
Constitution
The Declaration Of Independence because at the time America was not a country it was thirteen colonies. US constitution was written in 1787, The DOI was written in 1776. HOPE THIS HELPS! :P
The first written colonial self-government was The Fundamental Orders of 1639 in the Connecticut towns of Windsor, Hartford, and Wethersfield. The document was conspicuously devoid of references to the sovereignty of England and its monarchs.
They both were written before the first president was elected