After the death of Sigismund II Augustus, the last of the Jagiellonian line, the nobles in this nation elected Henry of Valois, the future Henry III of France, as king.  
After the death of Sigismund II Augustus, the last of the Jagiellonian line, the nobles in this nation elected Henry of Valois, the future Henry III of France, as king.  Later elected rulers included members of the Swedish Vasa line, and from 1674 to 1696 the great hetman John III Sobieski, who defeated the Turks seizing Vienna in 1683.  For 10 points, name this nation which continued electing kings until it was partitioned out of existence.
After the death of Sigismund II Augustus, the last of the Jagiellonian line, the nobles in this nation elected Henry of Valois, the future Henry III of France, as king.  
Poland