Question: In what year was the city annexed to the German Empire?
Sentence: In 1871, after the end of the war, the city was annexed to the newly established German Empire as part of the Reichsland Elsass-Lothringen under the terms of the Treaty of Frankfurt.
Answer in sentence: yes