Question: why did peking become beijing?
Answer: The occupying Japanese in 1937 imposed the name Peking (Beijing), then with their surrender in 1945, the Nationalist Government restored "Beiping". ... As noted above, the pinyin romanization, "Beijing", was adopted for use within the country in 1958, and for international use in 1979.