Станислав Август Понятовский
The church was reconstructed for the last time between 1786 and 1788 by order of King Stanisław August Poniatowski.