Who became the new leader of Poland in the early 1900s under a new free election?