After the Battle of Okinawa in World War II, the United States Navy initially administered the Okinawa group while the other three groups came under Army control. On July 18, 1945 the Navy transferred control to U.S. Army Forces in the Pacific (AFPAC), but on September 21 assumed control again, organizing the United States Military Government of the Ryukyu Islands. Finally on July 1, 1946, the Army took control again, organising the Ryukyu Command from the previous Okinawa Base Command. On January 1, 1947 AFPAC was reorganised as Far East Command and a unified Ryukyu Command, including a military government apparatus, was placed under General Headquarters, Far East Command (GHQ FECOM), in Tokyo.