<Li> Coast Guard warrant officer </Li> <Li> Coast Guard enlisted </Li> <P> The United States Armed Forces are the military forces of the United States of America . It consists of the Army, Marine Corps, Navy, Air Force, and Coast Guard . The President of the United States is the Commander - in - Chief of the U.S. Armed Forces and forms military policy with the U.S. Department of Defense (DoD) and U.S. Department of Homeland Security (DHS), both federal executive departments, acting as the principal organs by which military policy is carried out . All five armed services are among the seven uniformed services of the United States . </P> <P> From the time of its inception, the U.S. Armed Forces played a decisive role in the history of the United States . A sense of national unity and identity was forged as a result of victory in the First Barbary War and the Second Barbary War . Even so, the founders of the United States were suspicious of a permanent military force . It played a critical role in the American Civil War, continuing to serve as the armed forces of the United States, although a number of its officers resigned to join the military of the Confederate States . The National Security Act of 1947, adopted following World War II and during the Cold War's onset, created the modern U.S. military framework . The Act established the National Military Establishment, headed by the Secretary of Defense; and created the Department of the Air Force and the National Security Council . It was amended in 1949, renaming the National Military Establishment the Department of Defense, and merged the cabinet - level Department of the Army, Department of the Navy, and Department of the Air Force, into the Department of Defense . </P>

How many branches of the armed forces are there
find me the text answering this question