Following kindergarten, Indonesians of between seven and twelve years of age were required to attend six years of primary school in the 1990s. They could choose between state-run, nonsectarian public schools supervised by the Department of Education and Culture or private or semiprivate religious (usually Islamic) schools supervised and financed by the Department of Religious Affairs. However, although 85 percent of the Indonesian population was registered as Muslim, according to the 1990 census, less than 15 percent attended religious schools. Enrollment figures were slightly higher for girls than boys and much higher in Java than the rest of Indonesia.