From 1790, Tański was the secretary for Polish expeditions in the Deputation of Interests of Foreign Affairs. According to the testimony of his daughter Klementyna, “forced out of his office,” he accompanied King Stanisław August to the Grodno Sejm in 1793.