There were several candidates for the Commonwealth crown considered after the death of Stephen Báthory, including Archduke Maximilian of Austria. Anna Jagiellon proposed and pushed for the election of her nephew Sigismund Vasa, son of John III, King of Sweden and Catherine Jagellon and the Swedish heir apparent. The Zamoyski faction supported Sigismund, the faction led by the Zborowski family wanted Maximilian; two separate elections took place and a civil war resulted. The Habsburg's army entered Poland and attacked Kraków, but was repulsed there and then, while retreating in Silesia, crushed by the forces organized by Jan Zamoyski at the Battle of Byczyna (1588), where Maximilian was taken prisoner.