Станислав Лещинский
In 1706 he changed sides and became a supporter of Stanisław Leszczyński.