Question: When did Mulhouse join the Swiss Confederation?
Sentence: The town of Mulhouse joined the Swiss Confederation in 1515, where it was to remain until 1798.
Answer in sentence: yes