I want to know the answer to the following question:
What was the name of the law that enacted this?
All the background I'm provided with is that "Spanish was nonetheless the only official language in Galicia for more than four centuries.". Is that enough to answer the question?
Answer: no