In the pre-modern period, Japanese identity was articulated in contrast with China. It was, however, articulated in reference to criteria that were commonly accepted in the whole East-Asian cultural sphere; criteria, therefore, that were Chinese in origin.One of the fields in which Japan's conception of a Japanese identity was enacted was that of foreign relations, i.e. of Japan's relations with China, the various kingdoms in Korea, and from the second half of the sixteenth century onwards, with the Portuguese, Spaniards, Dutchmen, and the Kingdom of the Ryūkū.