Second Polish Republic was name of Polish state from 1918 (end of WWI) through 1939 (start of WWII). When its borders were fixed in 1922 after several wars, it had borders with Czechoslovakia, Weimar Republic, Free City of Danzig, Latvia, Lithuania, Romania and Soviet Union. Józef Piłsudski was the leader during most of the state's existence.