 The resulting conflict was known as the Danzig rebellion.Most armed opposition collapsed when the prolonged Siege of Danzig by Báthory's forces was lifted as an agreement was reached.The Danzig army was utterly defeated in a field battle on 17 April 1577.