These forces demobilized in 1784 after the Treaty of Paris ended the War for Independence. The Congress of the Confederation created the current United States Army on 3 June 1784. The United States Congress created the current United States Navy on 27 March 1794 and the current United States Marine Corps on 11 July 1798. All three services trace their origins to their respective Continental predecessors. The 1787 adoption of the Constitution gave the Congress the power to "raise and support armies", to "provide and maintain a navy" and to "make rules for the government and regulation of the land and naval forces", as well as the power to declare war. The president is the U.S. Armed Forces' commander-in-chief.