Rizal was exiled to Dapitan from 1892 to 1896, where he lived peacefully as a farmer, physician, and educator. However, the growing revolution led by Bonifacio threatened Spanish rule, so Rizal was arrested and tried on charges of rebellion. Despite his protests that he did not support the uprising, Rizal was found guilty and executed by firing squad on December 30, 1896, cementing his status as a martyr for Philippine independence.