Rizal left the Philippines to study abroad in Spain due to being disgusted with the racist teachings at the University of Santo Tomas. His secret mission was to observe European cultures and societies to help liberate the Filipino people from Spanish rule. He traveled extensively, first stopping in Singapore and Sri Lanka before arriving in Europe and studying in Madrid. While abroad, he immersed himself in his studies, the arts, and the Filipino community while maintaining his nationalistic goals of reform.