During the fire of Poznań in 1536 the castle also burned. It was rebuilt in the renaissance style by the governor of Greater Poland, Andrzej II Górka. In the next years the oldest part of castle was transformed into a kitchen. The castle was later destroyed during the Swedish invasion, sacked in 1704 by the armies of Russia and Saxony during Great Northern War, and in 1716 during Confederation of Tarnogród by the confederates. The castle was partially renovated in 1721, but it didn't stop the devastation. The last "starosta generalny", Kazimierz Raczyński, rebuilt the remains of the medieval buildings into an archive (finished in 1783). In 1804, after he Second partition of Poland, Prussians demolished the southern part of the castle, replacing it by buildings which, together with Raczyński's archive served as the office of the local "Regierungsbezirk". Later on the castle was also as a seat of the Court of Appeals and the State Archive (the castle served as an archive until 1939). During the battle for the Poznań Citadel, in February 1945, Przemysł Hill was in line of artillery fire, and the remaining part of the castle was demolished.