In 1910, he went back to Korea under Japanese rule. His political actions got him into trouble with the Japanese army, so he left for China in 1912. In 1919, all of the major pro-independence groups formed the provisional Government of the Republic of Korea in Shanghai. Rhee was elected the president, a post he held until 1925 when he was removed by the Provisional Assembly for the misuse of his authority.