Complex sentence: The castle was refurbished by king Sigismund I of Poland, who set up his summer residence there; however, after his death in 1548 the castle gradually fell into disrepair.
Split into simpler sentences: The castle was refurbished by king Sigismund I of Poland, who set up his summer residence there. However, after his death in 1548 the castle gradually fell into disrepair.