The national hero José María Morelos y Pavón was executed in Ecatepec in 1815 by the Spanish during the Mexican War of Independence. The house in which he was executed is now the Museo Casa de Morelos (Museum House of Morelos).