A junior school forms part of the local pattern of provision for primary education. Most junior schools cater for pupils moving from infant schools from the September following their seventh birthday, after they have taken their Key stage 1 SATs. Pupils join in Year 3, and stay at the school for four years, leaving at the end of Year 6 when most pupils are aged 11. These four years form Key Stage 2 in the English education system. At the end of this time, most pupils will move to a secondary school.