In 1890, the city had 40,000 inhabitants. It was the site of the Battle of Pyongyang during the First Sino-Japanese War, which led to the destruction and depopulation of much of the city. It was the provincial capital of South Pyeongan Province beginning in 1896. Under Japanese colonial rule, the city became an industrial center, called Heijō (with the same Chinese characters  but read as ) in Japanese.