The Polish political scene at the time was divided into two main factions, with different ideas for Poland's foreign policy and its relations with Europe's two major powers – the Habsburg Monarchy and France. The pro-French party initially supported two candidates for the throne vacated by John Casimir's abdication – Prince Louis Bourbon, better known as the Grand Condé, and Prince Philip William Wittelsbach, Count Palatine of Neuburg. The pro-Habsburg faction, on the other hand, endorsed Duke Charles Leopold of Lorraine. The Grand Condé, famous as an accomplished military commander, was perhaps best suited for the job; which is probably why he was also the first to drop out of the race. As always in Polish politics, negative selection prevailed. It was now down to two contenders, neither of whom spared the expenses needed to bribe the senators (promises to the nobility could be made for free).
Where two are fighting, the third wins, as a Polish proverb goes. Eventually, the nobility got tired of the endless bickering among the senators and decided to take up the idea advocated by Crown Underchancellor Andrzej Olszowski to elect a so-called "Piast". House Piast was had been Poland's first royal dynasty, back when the throne was still hereditary and not elective, but the idea was not to elect someone with actual Piast roots in his family tree (if this had been the case, then Charles Leopold would have stood a better chance, thanks to Cymburgis of Masovia, a Piast duchess who was his great<sup>8</sup>-grandmother in two different lines; besides, the last actual Piast, George William of Brieg, was still alive). The idea was simply to elect a native Pole rather than any of the foreign princes. The only question was, who specifically was to become this "Piast" king?
And this is when, according to the legend, a swarm of honey bees arrived in the election field and sat on the Polish-born Prince Michael and the nobles concluded that if the bees had already made their pick, then the rest was just formality. All the senators could do was to agree with the choice made by the bugs and the nobility, and thus a completely astonished Michael was proclaimed king.