 He became a cadet at the age of nine and a lieutenant at fourteen.When he heard of an existing war between Spain and France, he sought his senior officer's consent to send him to Madrid.Despite being demoted to a volunteer soldier with no rank after arriving in Spain, he returned to the Philippines with the rank of captain.