Andrew Yan Zawisza — statesperson, Polish–Lithuanian Commonwealth