Prior to their attack on Pearl Harbor, the Japanese occupied French Indochina, but left civil administration to the Vichy French administration. On 9 March 1945, fearing that the Vichy French were about to switch sides to support the Allies, the Japanese overthrew the Vichy administration and forces taking control of Indochina and establishing their own puppet administration, the Empire of Vietnam. The Japanese surrender in August 1945 created a power vacuum in Indochina, as the various political factions scrambled for control.