sentences:  On April 15, 1840, the Municipal Council of San Salvador named Cañas head of state of El Salvador for a second time.He served until September 20, 1840, when a revolt by General Francisco Malespín forced his resignation.