During the Japanese invasions of Korea (1592–98), Pyongyang was captured by the Japanese and held until they were defeated in the Siege of Pyongyang. Later in the 17th century, it became temporarily occupied during the Qing invasion of Joseon until peace arrangements were made between Korea and Qing China. While the invasions made Koreans suspicious of foreigners, the influence of Christianity began to grow after the country opened itself up to foreigners in the 16th century. Pyongyang became the base of Christian expansion in Korea. By 1880 it had more than 100 churches and more Protestant missionaries than any other Asian city, and was called "the Jerusalem of the East".