Meanwhile, in Cavite, Katipuneros under Mariano Álvarez, Bonifacio's uncle by marriage, and Baldomero Aguinaldo of Cavite El Viejo (modern Kawit), won early victories. The Magdalo council commissioned Edilberto Evangelista, an engineer, to plan the defense and logistics of the revolution in Cavite. His first victory was in the Battle of Imus on September 1, 1896, defeating the Spanish forces under General Ernesto Aguirre with the aid of Jose Tagle. The Cavite revolutionaries, particularly Emilio Aguinaldo, won prestige through defeating Spanish troops in "set piece" battles, while other rebels like Bonifacio and Llanera were engaged in guerrilla warfare.