East Africa Protectorate
In 1905 Hamilton was appointed Principal Judge and Chief Justice of the East Africa Protectorate. He was appointed as Chairman of the Civil Service Commission in 1918. He retired from the civil service in 1920.