During the Japanese invasion of China and the Pacific War, Japan was turned into a totalitarian state, which continued until Japan's defeat at 1945.