Question: Until what century was Catalan used as the official language in Sardinia?
Sentence: Catalan was widely used as an official language in Sicily until the 15th century, and in Sardinia until the 17th.
Answer in sentence: yes