He served as lieutenant-governor in Java and Sumatra, during which time he wrote a History of Java.
While he worked as the lieutenant-governor, he spent his time authoring a History of Java.
He worked as lieutenant-governor in Africa, and wrote a History of Tunisia.