On July 11, 1705, King Philip V created a Secretariat for war and treasury matters, called Secretariat of the Dispatch of War and Treasury mainly because of the War of Succession. Once the war was over, in 1714 the Administration was reformed and two secretariats appeared: one dedicated to the Army called Secretariat of the Dispatch of War and another to the Navy called the Secretariat of the Dispatch of the Navy and Indies.