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