Dekert's rise to mayor began with his first official positions in the Warsaw merchant organizations in the 1760s.
As the representative of Warsaw, he was elected a deputy to the Sejms of 1784 and 1786, as well as to the Great Sejm (1788-1892) [REF].