Japan surrendered on August 15, 1945, ending World War II. The war devastated Japan, costing millions of lives and destroying much of the country's industry and infrastructure. However, in the postwar period Japan rebuilt itself through innovation, becoming a global leader in scientific research and technological development, especially in fields like engineering. Japan now ranks highly on innovation indexes and has one of the highest numbers of scientists, technicians, and engineers per capita worldwide.