The Enlightenment greatly affected the thinking of influential Commonwealth circles during the reign (1764–95) of its last king, Stanisław II August Poniatowski. The King was an "enlightened" Polish magnate who had been a deputy to several Sejms between 1750 and 1764 and had a deeper understanding of Polish politics than previous monarchs. The Convocation Sejm of 1764, which elected Poniatowski to the throne, was controlled by the reformist Czartoryski "Familia" and was backed by Russian military forces invited by the Czartoryskis. In exchange for passing decrees favorable to them, the Russians and Prussians let the confederated Convocation Sejm enact a number of reforms, including the weakening of the "liberum veto" and its no longer applying to treasury and economic matters. A more comprehensive reform package was presented by Andrzej Zamoyski, but opposition from Prussia, Russia, and the Polish nobility thwarted this ambitious program, which had proposed deciding all motions by majority vote.