In 1839, Mexía was defeated and captured in a rebellion against Santa Anna, who granted him three hours to write any final letters home.
In 1839, Mexía joined General José de Urrea's rebellion against Santa Anna and was defeated and captured at Acajete. Santa Ana order his execution, granting him three hours to write any final letters home.