The administrative structure of the government of the Empire of Japan on the eve of the Second World War broadly consisted of the Cabinet, the civil service, local and prefectural governments, the governments-general of Chosen (Korea) and Formosa (Taiwan) and the colonial offices. It underwent several changes during the wartime years, and was entirely reorganized when the Empire of Japan was officially dissolved in 1947.