After the annexation treaty in 1910, Japan annexed Korea and renamed the city Gyeongseong ("Kyongsong" in Korean and "Keijo" in Japanese). Japanese technology was imported, the city walls were removed, some of the gates demolished. Roads became paved and Western-style buildings were constructed. The city was liberated by U.S. forces at the end of World War II.