Initially part of the United States Army, the USAF was formed as a separate branch of the military on 18 September 1947 under the National Security Act of 1947.
What act formed the USAF?
National Security Act of 1947