 He was the Spanish Governor-General of the Philippines from 1880 to 1883.In 1897, he again became the Spanish Governor-General of the Philippines.He temporarily suspended hostilities in the Philippine Revolution through negotiations with Emilio Aguinaldo in the Pact of Biak-na-Bato and acted briefly as Governor-General of the Philippines.