sentences:  After their dues were paid, appointed captain Steven Báthory gathered an army of 40,000 soldiers and began the siege in June 1491, which lasted for a month.More minor cities were regained, and without further support from the German nobility, Maximilian agreed to negotiate, and in the end, he signed the Peace of Pressburg in 1491, which included ceding the Silesian lands to him.John Haugwitz never recognized this treaty and held their possessions in Silesia afterwards.