Alsace-Lorraine became part of the German Empire in 1871, and remained so until the end of World War I (1919).