born on 24 august 1736, stanisław małachowski came from a wealthy, powerful and influential noble family and was the son of statesman and nobleman jan małachowski. he studied law and was elected provincial deputy to the sejm in 1764 . in 1771 he was appointed clerk of the united polish crown. as a member of the house of deputies in the sejm, he earned great respect. he belonged to a member of the permanent council of the government and was appointed marshal (president) of the four-year sejm (1788-1792). in this capacity he was one of the main authors of the constitution of may 3, 1791. he signed, as marshal of the sejm in 1790, the treaty of alliance with prussia with the aim to protect poland from foreign domination.