During French colonial rule within French Indochina, Hanoi was the capital of Tonkin protectorate, and in 1901 became the capital of all French Indochina (Cambodia, Laos, & Vietnam). French colonial administration ruled until 9 March 1945, with 1941-1945 during the World War II Japanese occupation of Vietnam. French administration was allowed by the Japanese as a puppet government. Japan briefly took full control of Vietnam in March 1945, as the Empire of Vietnam. Tonkin became a site of the Vietnamese famine of 1945 during this period.