Ryukyu
From their court at Shuri on Okinawa, the kings of Ryukyu sent tribute missions to China and trading ships from Naha to ports as far away as Siam. Invaders from the Japanese domain of Satsuma took Shuri in 1609. Satsuma thereafter supervised the kingdom while its kings continued to receive investiture from Chinese emperors.
In 1854 American naval commander Matthew Perry concluded a compact at Naha securing provisions for American ships and aid for shipwrecked sailors. Japan designated the kingdom the Ryukyu Domain in 1872 and ordered it in 1875 to cease sending tribute to Qing China and accepting Qing investiture. In 1879 Japanese officials took possession of Shuri Castle, replaced the domain with Okinawa Prefecture and required King Shō Tai to move to Tokyo.