Through these and other acquisitions the city accumulated considerable territory. The Hussite Wars (1419–1434), a recurrence of the Black Death in 1437, and the First Margrave War (1449–1450) led to a severe fall in population in the mid-15th century. Siding with Albert IV, Duke of Bavaria-Munich, in the Landshut War of Succession of 1503–1505 led the city to gain substantial territory, resulting in lands of , making it one of the largest Imperial cities.