Education in China is a state-run system of public education run by the Ministry of Education. All citizens must attend school for at least nine years, known as the nine-year compulsory education, which is funded by the government. Compulsory education includes six years of primary education, starting at age six or seven, and three years of junior secondary education (junior middle school) for ages 12 to 15. Some provinces may have five years of primary school but four years for junior middle school. After junior middle school, there are three years of senior middle school, which then completes the secondary education.