琉球王国
The king died in 1847, and his second son Shō Tai succeeded him as the last king of the Ryukyu Kingdom.