Rizal enrolled at the University of Santo Tomas in 1877 at age 16 to study Philosophy and Letters at the encouragement of his father. He later switched to medicine to potentially cure his mother's blindness. He faced discrimination from Dominican professors and racial tensions with Spanish students. Rizal excelled in writing, winning literary contests. After four years in medical school, Rizal decided to continue his studies abroad in Spain with the support of his siblings and friends, without informing his parents or the Spanish authorities.