Here is the order of those events, with dates:
- Declaration of Independence - July 4, 1776
- Articles of Confederation - Ratified March 1, 1781
- United States Constitution - Ratified June 21, 1788
- Bill of Rights - Ratified December 15, 1791
The Declaration of Independence asserted the independence of the American colonies from the British. Then the Americans needed to win the War of Independence in order to establish their own country.
The Articles of Confederation were the initial plan used for the governing of the United States. Those articles were then replaced by the US Constitution, and the Bill of Rights (Amendments #1-10 to the Constitution) were added shortly after the Constitution itself was ratified.