Józef Piłsudski
When Piłsudski decided that Poland must be indepenent from Germany too, he was arrested and brought to a fortress in Magdeburg, Germany in 1917. He was released at the end of the war in November 1918.