He entered the Ceylon Civil Service in 1857, and became successively District Judge, Inspector-General of Prisons, Government Agent for the Western Province, and Auditor-General.
In 1890 he was appointed Treasurer of Ceylon and Commissioner of Stamps.