text: The War Department also bore responsibility for naval affairs until the establishment of the Navy Department in 1798 and for most land-based air forces until the creation of the Department of the Air Force in 1947 .
simplified: The War Department also had responsibility for the young nation 's naval affairs until the establishment of the Navy Department in 1798 .