After the re-establishment of Poland's independence following World War I, it was (with a hiatus, 1922–26) the residence of Marshal Józef Piłsudski, Chief of State (1918–22) and later (1926–35) Minister of Military Affairs of Poland, who died there in 1935. (During the May 1926 coup d'état, President Stanisław Wojciechowski had abandoned it ahead of Piłsudski's advancing forces.)