In Spain, students are required to attend school from 6 until 16 years of age.