Question: What year was Bern occupied by French troops?
Sentence: Bern was occupied by French troops in 1798 during the French Revolutionary Wars, when it was stripped of parts of its territories.
Answer in sentence: yes