I want to know the answer to the following question:
Until what century was Catalan used as the official language in Sardinia?
All the background I'm provided with is that "Catalan was widely used as an official language in Sicily until the 15th century, and in Sardinia until the 17th.". Is that enough to answer the question?