In February 1772, the agreement of partition was signed in Vienna. Early in August, Russian, Prussian and Austrian troops simultaneously invaded the Commonwealth and occupied the provinces agreed upon among themselves.