During the 19th century Spain invested heavily in education and infrastructure. Through the Education Decree of December 20, 1863, Queen Isabella II of Spain decreed the establishment of a free public school system that used Spanish as the language of instruction, leading to increasing numbers of educated Filipinos. Additionally, the opening of the Suez Canal in 1869 cut travel time to Spain, which facilitated the rise of the ilustrados, an enlightened class of Spanish-Filipinos that had been able to enroll in Spanish and European universities.