At various times during the Spanish occupation, the Filipino people had rebelled against their harsh rulers, but they had been ruthlessly crushed. However, as the nineteenth century progressed, so the Philippines was opened up to Western culture and ideas, and the beginnings of a middle class could be seen.