In the Spanish speaking country where you live or have been, up to what age/year level is it compulsory to study the Spanish language at school.
Where I live (English speaking country) it is compulsory to study English in High School until 6th form (year 12, when you are ~16-17 years old). So I wanted to know if it was the same or similar in a Spanish speaking country.
Please don't forget to mention what country you are from, thanks =)
Edit:
The reason behind asking this question is because in my experiences in Argentina, the vast majority of students I talked with had a very good knowledge of the Spanish language. In contrast, if you found a student in their ultimate or penultimate year of high school where I live, and asked them what a noun/verb/adjective etc was, they would struggle to answer you.
Edit:
Thanks for the comments, it seems like the average age that it is compulsory to study is about the same as in an English speaking country