He was executed by the Spanish colonial government for the crime of Filipino rebellion after an anti-dd revolution, inspired in part by his writings, broke out. Though he was not actively involved in its planning or conduct, he ultimately approved of its goals which eventually led to Philippine independence.
He is widely considered one of the greatest heroes of the Philippines and has been recommended to be so honored by an officially empaneled National Heroes Committee. However, no law, executive order or proclamation has been enacted or issued officially proclaiming any Filipino historical figure as a national hero. He was the author of the novels Noli Me Tángere and El filibusterismo, and a number of poems and essays.