Original: 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 .