In the mid-14th century, during the reign of Casimir III the Great, a stone castle was built next to the existing round tower. The Będzin Castle was a royal defensive castle on the south-west border of the Kingdom of Poland. In 1588, the castle was the place of negotiations by envoys of Rudolf II, the Roman Emperor, with Poland, for the release of the imprisoned Maximilian III, Archduke of Austria, head of the Teutonic Order, and the pretender to the Polish crown. During an unsuccessful attempt to capture Warsaw, Maximilian was imprisoned by Hetman Jan Zamoyski. After his release, Maximilian left the Kingdom of Poland and went to Czechia.