Attempting to reverse the losses of the previous war, in the War of the Quadruple Alliance (1718–20) the Spanish navy successfully convoyed armies to invade Sicily and Sardinia, but the poorly maintained escort fleet was destroyed by the British in the Battle of Cape Passaro and the Spanish invasion army was defeated in Italy by the Austrians. A major program to renovate and reorganise the run-down navy was begun. A "secretaría" (ministry) of the army and navy had been established by the Bourbon regime as early as 1714; which centralized the command and administration of the different fleets. Following the war of Quadruple Alliance, a program of rigorous standardization was introduced in ships, operations, and administration. Given the needs of its empire, Spanish warship designs tended to be more orientated towards long-range escort and patrol duties than for battle. A major reform of the Spanish navy was initiated, updating its ships and administration, which was helped by French and Italian experts, although Spaniards, most notably Antonio Castaneta, soon rose to prominence in this work, which made Spain a leader in warship design and quality again, as was demonstrated by ships like the Princesa. A major naval yard was established at Havana, enabling the navy to maintain a permanent force in the Americas for the defence of the colonies and the suppression of piracy and smuggling.