He served as Municipal Captain, equivalent to Mayor, of the town of NOVELETA for twelve years and also became a Judge of Peace,  then he was re-appointed as Municipal Captain and serve in this capacity up to the time of the revolution.  He was known to  the  revolutionary circle by the name “MAINAM”.

When the Provincial Council of “SANGANDAANG MAGDIWANG” was established, he was elected President.  Then he initiated the uprising against Spanish tyranny in the Province of Cavite.  One of his greatest contribution to the Philippine Revolution was his role in the wrecking of the Calero Bridge and the ambush of 1000 Spanish soldiers and thus prevented reinforcement to pour in.

This episode was succeeded with other victories that later on led the revolutionists to regain control of some towns of the Province of Cavite and prevented the town of NOVELETA to be under the control of  Guardia Civil.

His great courage and audacity prompted ANDRES BONIFACIO to hail him “General” and “Second Supremo of the Katipunan”.  The wife of Andres Bonifacio, the amazon warrior GREGORIA DE JESUS, was the niece of Mariano Alvarez.  General Mariano Alvarez was a Nationalist and Aglipayanon.  Together with his son SANTIAGO, they were responsible in gaining converts and  spreading  the Aglipay religion in the town of Noveleta, Cavite.

After the fulfillment of his duties as Municipal Captain of the town, he concentrated on the field of Agriculture.  He died on August 25, 1924, due to chronic rheumatism at the age of 106.