Rubuta ci gaba don wannan sakin layi - A cikin 1587 Maximilian ya tsaya a matsayin ɗan takarar kujerar mulkin Poland-Lithuanian Commonwealth, bayan mutuwar tsohon sarki, Stefan Batory. Wani ɓangare na masarautar Poland sun zaɓi Maximilian sarki, amma, sakamakon yanayin rikice-rikice na tsarin zaɓen, an zaɓi wani ɗan takara, Sigismund III Vasa, yariman Sweden, jikan Sigismund I Tsohon, shi ma an zabe shi. Maximilian ya yi ƙoƙarin warware takaddama ta hanyar kawo rundunar soja zuwa Poland <unk> ta haka ne ya fara yakin basasa na Poland. Dalilinsa yana da goyon baya sosai a Poland, amma 'yan Poland da yawa sun shiga rundunarsa fiye da na abokin hamayyarsa. Bayan wani yunƙurin da bai yi nasara ba don mamaye Kraków a ƙarshen 1587, an ci shi a watan Janairun 1588, a Pitschen a Silesia (Yakin Byczyna
) daga magoya bayan Sigismund III (wanda tun daga lokacin aka naɗa shi a hukumance), a ƙarƙashin jagorancin Hetman Jan Zamojski na Poland. An kama Maximilian a yakin kuma an sake shi ne kawai bayan shekara daya da rabi bayan da Paparoma Sixtus V ya shiga tsakani bayan yarjejeniyar Bytom da Będzin. A shekara ta 1589, a hukumance ya yi watsi da da'awarsa ga kambi na Poland. Rashin aikin ɗan'uwansa, sarki Rudolf II, Sarkin Roma Mai Tsarki a cikin wannan al'amari ya ba da gudummawa ga mummunan sunan Rudolf.