In some countries there are two phases to secondary education (ISCED 2) and (ISCED 3), here the junior high school, intermediate school, lower secondary school, or middle school occurs between the primary school (ISCED 1) and high school.