Joseon diplomacy was the foreign policy of the Joseon dynasty of Korea from 1392 through 1910; and its theoretical and functional foundations were rooted in Neo-Confucian scholar-bureaucrats, institutions and philosophy. Taejo of Joseon established the "Kingdom of Great Joseon" in 1392-1393, and he founded the Joseon dynasty which would retain power on the Korean peninsula for five hundred years. As an initial step, a diplomatic mission was dispatched to China and to Japan in 1402. Subsequent missions developed and nurtured the contacts and exchanges between these neighboring countries.