The origin of soju dates back to the 13th century Goryeo, when the Levantine distilling technique was introduced to the Korean Peninsula during the Mongol invasions of Korea (1231–1259), by the Yuan Mongols who had acquired the technique of distilling "arak" from the Persians during their invasions of the Levant, Anatolia, and Persia. The distilleries were set up around the city of Gaegyeong, the then capital (current Kaesong). In the surrounding areas of Kaesong, soju is still called "arak-ju" (). Andong soju, the direct root of modern South Korean soju varieties, started as the home-brewed liquor developed in the city of Andong, where the Yuan Mongol's logistics base was located during this era.