Education in the Riau Islands, as well as Indonesia in a whole, falls under the responsibility of the Ministry of Education and Culture ("Kementerian Pendidikan dan Kebudayaan" or "Kemdikbud") and the Ministry of Religious Affairs ("Kementerian Agama" or "Kemenag"). In Indonesia, all citizens must undertake twelve years of compulsory education which consists of six years at elementary level and three each at middle and high school levels. Islamic schools are under the responsibility of the Ministry of Religious Affairs. The Constitution also notes that there are two types of education in Indonesia: formal and non-formal. Formal education is further divided into three levels: primary, secondary and tertiary education. Indonesians are required to attend 12 years of school, which consists of three years of primary school, three years of secondary school and three years of high school.