After the Second Peace of Thorn (1466), the Teutonic Order was under Polish suzerainty. In the late 1490s, the Order developed the idea of electing only an Imperial Prince as future Grand Master, who as subject to the Emperor could resist having to pay homage to Kings of Poland. The Order was present not only in Prussia but throughout the Empire, and it was also subordinate to the Holy Roman Emperor, who had objected since 1501 to Duke Frederick of Saxony, Grand Master of the Teutonic Order and Reichsfürst, offering tribute to the Polish king.