count stanisław małachowski, of the nałęcz coat-of-arms (; 1736–1809) was the first prime minister of poland, a member of the polish government's permanent council (rada nieustająca) (1776–1780), marshal of the crown courts of justice from 1774, crown grand referendary (1780–1792) and marshal of the four-year sejm (1788–1792).