An early achievement of the new monarch was improved relations with China; and indeed, Joseon had its origin in General Yi's refusal to attack China in response to raids from Chinese bandits. Shortly after his accession, the new monarch sent envoys to inform the Ming court at Nanjing that a dynastic change had taken place. Korean envoys were dispatched to Japan, seeking the re-establishment of amicable relations. The mission was successful; and "shōgun" Ashikaga Yoshimitsu was reported to have been favorably impressed by this initial embassy. Envoys from the Ryūkyū Kingdom were received in 1392, 1394 and 1397. Siam sent an envoy in 1393.