Completed the following sentence: In the 16th century, Bohemia (Czechia) and Hungary, both of which bordered Poland, fell under the rule of the Austrian House of Habsburg. The Habsburgs tried to take power also in Poland, as they repeatedly presented their candidacies in the Polish royal elections, starting in 1573, but to no avail. 1587 Polish<unk>Lithuanian royal election, in an attempt to become King of Poland, Maximilian III involved Austria in the War of the Polish Succession, which is considered the first major Austro-Polish war. Austrians were decisively defeated by the Poles at the
Battle of Byczyna in 1588.