Original: A similar position, called either "Secretary at War" or "Secretary of War," was appointed to serve the Congress of the Confederation under the Articles of Confederation between 1781 and 1789.
Simplified: At first, he was responsible for all military affairs.