In spite of its neutrality in World War I, the Netherlands was invaded by the Nazis in May 1940, and the Dutch East Indies were later taken by the Japanese. The nation was liberated in May 1945. In 1948, after a reign of 50 years, Queen Wilhelmina abdicated and was succeeded by her daughter Juliana.
In 1949, after a four-year war, the Netherlands granted independence to the Dutch East Indies, which became the Republic of Indonesia. The Netherlands also joined NATO that year. The Netherlands joined the European Economic Community (later, the EU) in 1958. In 1999, it adopted the single European currency, the euro.