Louis XIV established an absolute monarchy in France, concentrating power in himself. He removed nobles from government, centralized authority, and pursued religious unity and economic policies to increase France's wealth and power. However, his numerous wars left France in debt and surrounded by enemies upon his death. Prussia rose as a military power under Frederick William, while the Austrian Empire remained decentralized due to its diverse populations. Ivan the Terrible and Peter the Great expanded Russia's territories and modernized its military and culture, with Peter establishing a new capital at St. Petersburg and opening Russia to Western influences.