Backed by Japan, Zhang successfully influenced politics in the Republic of China during the early 1920s, invaded China proper in October 1924 during the Second Zhili–Fengtian War, and gained control of Peking, including the internationally recognized government, in April 1926.