In Sweden, school is compulsory for pupils aged seven and from school years one to nine.
After those nine years, pupils can go to non-compulsory upper secondary school for three to four years. Then they can go to college or university.