Shurijo Castle was the seat of the Ryukyu Kingdom's government from 1429 to 1879 when it became Okinawa Prefecture.
The Ryukyuan kings were from the Sho Clan (尚) starting with Shō Hashi who unified the three kingdoms on the main island in 1429. The other islands also eventually came under the control of the Shuri government after successful military campaigns.