Arab merchants lived in Hangzhou during the Song dynasty, due to the fact that the oceangoing trade passages took precedence over land trade during this time.[20] There were also Arabic inscriptions from the 13th century and 14th century.