I want to know the answer to the following question:
What were the Spanish wars directly linked to?
All the background I'm provided with is that "The Spanish American wars of independence were the numerous wars against Spanish rule in Spanish America that took place during the early 19th century, from 1808 until 1829, directly related to the Napoleonic French invasion of Spain.". Is that enough to answer the question?
Answer: yes