 However, since Báthory's armies were unable to take the city by force, a compromise was reached.In exchange for some of Danzig's demands being favorably reviewed, the city recognised Báthory as ruler of Poland and paid the sum of 200,000 zlotys in gold as compensation.Tying up administration of the Commonwealth's northern provinces, in February 1578 he acknowledged George Frederick as the ruler of Duchy of Prussia, receiving his feudal tribute.