sentences:  A new brick castle appeared on the hill in 1362 by the king Casmimir III.It became the residence of Polish nobles.In 1537, the castle witnessed a rebellion known as Chicken War against Polish king Sigismund I the Old and his wife Bona Sforza.