 The Ryūkyū Domain was abolished in 1879 and the former Ryūkyū Kingdom came to an end, fully annexed by Japan as Okinawa Prefecture, with Naha remaining as the capital city.Shuri and other neighboring municipalities were absorbed into the city.An Imperial decree in July 1899 established Naha as an open port for trading with the United States and the United Kingdom.