Although for a few decades (since the times of the Silent Sejm) Russia had seen a weak Poland as its own protectorate, Poland had also been devastated by a civil war in which the forces of the Bar Confederation attempted to disrupt Russian control over Poland. The recent Koliyivschyna peasant and Cossack uprising in Ukraine also weakened Poland's position. Further, the Russian-supported Polish king, Stanisław August Poniatowski, was seen as both weak and too independent-minded; eventually the Russian court decided that the usefulness of Poland as a protectorate had diminished. The three powers officially justified their actions as a compensation for dealing with a troublesome neighbor and restoring order in Poland through military intervention (the Bar Confederation provided a convenient excuse); in fact all three were interested in territorial gains.