The following year Stanislaw August Poniatowski was elected the last king of the Polish-Lithuanian Commonwealth , and Poland soon faced one of its most humiliating episodes .
Stanislaw August Poniatowski was king for seven years .