in pronunciation and grammar. The Spanish language was the official language used by the civil and judicial administration, and it was spoken by the majority of the population in the main cities and understood by many, especially after the passing of the Education Decree of 1863. By the end of the 19th century, Spanish was either a mother tongue or a strong second language among the educated elite of the Philippine society, having been learned in childhood either directly from parents and grandparents or in school, or through tutoring. Schools In the 16th and the 17th centuries, the oldest educational institutions in the country were set up by Spanish religious orders. The schools and universities played a crucial role in the development of the Spanish language in the islands. Colegio de Manila in Intramuros was founded in 1590. The Colegio formally opened in 1595, and was one of the first schools in the Philippines. In the same year, the University of San Carlos in Cebú, was established as the Colegio de San Ildefonso by the Jesuits. In 1611, the University of Santo Tomás, considered as the oldest existing university in Asia, was inaugurated in Manila by the Dominicans. In the 18th century, fluent male Spanish-speakers in the Philippines were generally the graduates of those schools or of the Colegio de San Juan de Letrán, established in 1620. In 1706, a convent school for Philippine women, Beaterios, was established. It admitted both Spanish and native girls, and taught religion, reading, writing and arithmetic with music and embroidery. Female graduates from Beaterios were fluent in Spanish as well. In 1859, Ateneo de Manila University was established by the Jesuits as the Escuela Municipal. In 1863, Queen Isabel II of Spain decreed the establishment of a public school system, following the requests of the islands' Spanish authorities, who saw the need of teaching Spanish to the wider population. The primary instruction and the teaching of Spanish was compulsory. The Educational Decree provided for the establishment of at least one primary school for boys and girls in each town and governed by the municipal government. A Normal School for male teachers was established and was supervised by the Jesuits. In 1866, the total population of the Philippines was only 4,411,261. The total public schools was 841 for boys and 833 for girls and the total number of children attending the schools was 135,098 boys