The <a href="https://en.wikipedia.org/wiki/Szlachta" id="mwVw" rel="mw:WikiLink" title="Szlachta">nobility</a> elect <a href="https://en.wikipedia.org/wiki/John_III_Sobieski" id="mwWA" rel="mw:WikiLink" title="John III Sobieski">John Sobieski</a> King of Poland and Grand Duke of <a href="https://en.wikipedia.org/wiki/Lithuania" id="mwWQ" rel="mw:WikiLink" title="Lithuania">Lithuania</a>.