Resurgent French armies secured victories in dynastic conflicts against the Spanish, Polish, and Austrian crowns. At the same time, France was fending off attacks on its colonies. As the 18th century advanced, global competition with Great Britain led to the Seven Years' War, where France lost its North American holdings. Consolation came in the form of dominance in Europe and the American Revolutionary War, where extensive French aid in the form of money and arms, and the direct participation of its army and navy led to America's independence. Internal political upheaval eventually led to 23 years of nearly continuous conflict in the French Revolutionary Wars and the Napoleonic Wars. France reached the zenith of its power during this period, dominating the European continent in an unprecedented fashion under Napoleon Bonaparte, but by 1815 it had been restored to its pre-Revolutionary borders. The rest of the 19th century witnessed the growth of the Second French colonial empire as well as French interventions in Belgium, Spain, and Mexico. Other major wars were fought against Russia in the Crimea, Austria in Italy, and Prussia within France itself.