Sentence 1: Until 1798 , he studied in Dresden before settling in Copenhagen .
Sentence 2: He studied in Dresden until 1798 , before settling in Copenhagen .
Question: Do Sentence 1 and Sentence 2 express the same meaning? Yes or No?