the Siege of Pskov. Żółkiewski maintained his political alliance with the Zamoyski family after those campaigns ended, particularly in their conflict with the Zborowscy. On the night of 11 to 12 May 1584 he captured Samuel Zborowski, whose subsequent execution caused much controversy. Żółkiewski became notorious for his role in the incident, and was the subject of heated debates during the Sejm of 1585. In 1588, during the War of the Polish Succession between factions of Sigismund III Vasa and Maximilian III, Żółkiewski supported Sigismund. Żółkiewski commanded the right flank of Commonwealth forces in the battle of Byczyna, during which he received a knee wound that lamed him for the remainder of his life. For his part in the battle he was appointed a Field Crown Hetman, and became the starost of Hrubieszów. As Field Crown Hetman Soon after becoming a Hetman, Żółkiewski was sent to Ukraine to repel a Tatar invasion. In 1590 he became the castellan of Lwów, but his requests for military reinforcements against the Tatars went unheeded. In 1595 Żółkiewski participated in the Moldavian campaign and the battle of Cecora near the Prut river. The following year he defeated the Cossack uprising of Severyn Nalivaiko. Żółkiewski was a known supporter of Cossack grievances, and generally favored peaceful negotiations with them. When the Cossacks surrendered Nalivaiko and other leaders of the uprising to him he guaranteed their fair treatment. But Nalivaiko was subsequently executed in Warsaw, and a mob of Polish soldiers massacred the other prisoners, which led to a deterioration in Polish-Cossack relations. In 1600 Żółkiewski returned to Moldova, where he took part in the victorious battle of Bukowo. In 1601 Żółkiewski operated in the north, in Livonia (Inflanty), during the Polish–Swedish War. He also took part in the successful siege of Wolmar, and in 1602 the taking of Fellin. That same year he led Polish forces at the battle of Reval, which led to a Swedish capitulation at the siege of Biały Kamień. Żólkiewski became ill near the end of the campaign and had to relinquish command of his forces to Hetman Jan Karol Chodkiewicz. In 1606 Żółkiewski returned to Ukraine, where he defeated the Tatars at the battle of Udycz. Later that year he decided to support the king during the Zebrzydowski rebellion. His decision was not an obvious one, as his mentor Zamoyski opposed the king. Additionally, Żółkiewski was related to the Zebrzydowski