==Attempts to modernise the state==The Union of Lublin was superseded by the Constitution of May 3, 1791 from 1791, when the federal Commonwealth was to be transformed into a unitary state by King Stanisław August Poniatowski.