At the start of the Thirty Years' War the Genoese navy consisted of only 10 galleys. Genoa allied itself with Spain during the war, leading to France laying siege to the city in 1625. Spain launched an expedition to relieve Genoa, known as the Relief of Genoa. In 1684 the French navy bombarded the city, an act that devastated parts of Genoa and razed the Republic's shipyards. In the postwar period the republic commissioned a number of frigates and corvettes into the navy, though funding for the force was minimal.