Under the Treaty of Versailles after World War I, the Upper Silesia plebiscite was organised by the League of Nations. Though Kattowitz proper voted 22,774 to remain in Germany and 3,900 for Poland, it was attached to Poland as the larger district voted 66,119 for Poland and 52,992 for Germany. Following the Silesian uprisings of 1918–21 Katowice became part of the Second Polish Republic with some autonomy for the Silesian Parliament as a constituency and the Silesian Voivodeship Council as the executive body).