Question: For how long was Spanish the official language of Galicia?
Sentence: Spanish was nonetheless the only official language in Galicia for more than four centuries.
Answer in sentence: yes