Complete the following sentence: The War of the Polish Succession or the Habsburg-Polish War took place from 1587 to 1588 over the election of the successor to the King of Poland and Grand Duke of Lithuania Stephen Báthory. ️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️ Two major battles of this conflict included the Siege of Kraków, in which Maximilian III failed to capture the capital of the Commonwealth, and the
Battle of Byczyna, in which Maximilian was forced to surrender. ️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️<unk>️