 From 1715 to 1720 he served in Cochin in India, a Dutch possession at the time.In 1720 he returned to Batavia and was promoted to corporal.He later became a military writer, responsible for small-scale bookkeeping.