Original: He remained finance minister until 1940, when World War II consumed his time.
Simplified: He remained finance minister until 1940, when World War II problems took up his time.