 In 1766–68 he was the member of Crown Treasury Commission, and from 1768 a vice-commander of the Cadet Corps, a function he performed well, even donating some of his funds to the Szkoła Rycerska.However, in 1792 he joined the Targowica Confederation, whose actions resulted in the fall of the Constitution of 3 May and the Second Partition of Poland.In 1793 he was a member of commission investigating a banking crisis in the Commonwealth, and the member of the Permanent Council in charge of police.