Original: The area was de facto annexed by Nazi Germany in 1940 (although no official de jure annexation took place), but reverted to France in 1944-1945 at the end of World War II and has remained a part of France since.
Simplified: Nazi Germany de facto took it back in 1940 but France took it back in 1945.