Russia invaded Poland to ensure the defeat of the Polish reforms, with no overt goal of another partition (it viewed Poland as its protectorate, and saw little need to give up chunks of Poland to other countries). Frederick William II of Prussia, however, saw those events as an opportunity to strengthen his country. Frederick demanded from Catherine that for his country's abandoning Poland as a close ally, for Prussian participation in the War of the First Coalition against revolutionary France, because Russia had encouraged Prussian participation, and because Prussia had recently suffered a major defeat at the Battle of Valmy, Prussia should be compensated – preferably with parts of the Polish territory. Russia soon decided to accept the Prussian offer.