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.
Military law introduces offences not recognised by civilian courts, such as absence without leave (AWOL), desertion, political acts, malingering, behaving disrespectfully, and disobedience (see, for example, Offences against military law in the United Kingdom). Penalties range from a summary reprimand to imprisonment for several years following a court martial. Certain fundamental rights are also restricted or suspended, including the freedom of association (e.g. union organizing) and freedom of speech (speaking to the media). Military personnel in some countries have a right of conscientious objection if they believe an order is immoral or unlawful, or cannot in good conscience carry it out.
In the 2000s, women can serve on U.S. combat ships, including in command roles. They are permitted to serve on submarines. Women can fly military aircraft and make up 2% of all pilots in the U.S. Military. In 2003, Major Kim Campbell was awarded the Distinguished Flying Cross for landing her combat damaged A-10 Thunderbolt II with no hydraulic control and only one functional engine after being struck by hostile fire over Baghdad.
Personnel may be posted to bases in their home country or overseas, according to operational need, and may be deployed from those bases on exercises or operations anywhere in the world. During peacetime, when military personnel are generally stationed in garrisons or other permanent military facilities, they mostly conduct administrative tasks, training and education activities, technology maintenance, and recruitment.
The primary reason for the existence of the military is to engage in combat, should it be required to do so by the national defence policy, and to win. This represents an organisational goal of any military, and the primary focus for military thought through military history. How victory is achieved, and what shape it assumes, is studied by most, if not all, military groups on three levels.
An important part of the military intelligence role is the military analysis performed to assess military capability of potential future aggressors, and provide combat modelling that helps to understand factors on which comparison of forces can be made. This helps to quantify and qualify such statements as: "China and India maintain the largest armed forces in the World" or that "the U.S. Military is considered to be the world's strongest".
These relationships are seen from the perspective of political-military relations, the military-industrial complex mentioned above, and the socio-military relationship. The last can be divided between those segments of society that offer support for the military, those who voice opposition to the military, the voluntary and involuntary civilians in the military forces, the populations of civilians in a combat zone, and of course the military's self-perception.