Lithuania Stefan Batory (). At first Batory tried to control Cossack forces that were waging wars in Moldavia and Wallachia as well as other parts of the Ottoman Empire. On 4 April 1578 he issued four universals to all local government officials. He asked them to support Jan Tarlo in an investigation of the coup-d'etat by Zaporozhian leader Ivan Pidkova. The coup overthrew the Ottoman-installed Hospodar of Moldavia, Peter the Lame, in 1577 under the pretense that Ivan was the brother of the previous voivode of Moldavia, John III the Terrible. Batory also ordered the voivode of Kiev, Konstanty Wasyl Ostrogski, to send a punitive expedition against Pidkova and asked the mayors of Khmilnyk, Bar, Bratslav, Vinnytsia, Bila Tserkva and others to support him. At the same time Batory sent his ambassador Marcin Broniowski to the Khan of Crimea proposing cooperative actions against the Zaporizhian Sich. On July 27, 1578 Batory sent ambassador Jancsi Bereg to the Zaporozhian host proposing the Cossacks redirect their raids from Moldavia to Muscovy. To further discuss the proposition, a delegation headed by Andriy Lykhansky arrived in Lviv on September 15, 1578. The next day it was agreed that 500 Cossacks would be enlisted for fifteen florins each per year. The Starosta of Cherkasy and Kaniv, Prince Michał Wiśniowiecki, was appointed hetman; Jan Oryszowski served as his deputy. The Cossacks' headquarters was established at Trakhtemyriv (today a village in Cherkasy Raion) with its monastery, which was used as the Cossacks' hospital. The Cossacks were given a banner that denoted their relationship to the state army and Bereg promised to pay them in Cherkasky on Saint Nicolas Day. The Cossacks evidently were paid only after the Siege of Pskov in 1581. Even though the official register consisted of only 500 names, in reality the contingent of registered Cossacks numbered around 4,000. Batory's military reform, however, proved ineffective. The Polish government promised to pay the Cossacks' salary, but often did not do so. The Cossacks frequently and proudly pledged their allegiance to serve the King of Poland and hoped for at least the same financial compensation as the regular army. Due to the hold-ups in pay some Cossacks returned to raiding the Tatars and Moldavians. In 1590 the Sejm issued a new declaration re-creating the Cossack units. A royal edict issued on July 25, 1590, envisaged registering 1,000 Cossacks for policing duty in order to prevent unauthorized