 He went to the Royal Military Academy at Woolwich when he was seventeen years old and passed out first with the sword of honour and the Pollock medal.Attached to the Royal Engineers as a lieutenant, he spent two years at the School of Military Engineering at Chatham before being posted to India.In 1889 he joined the trigonometrical branch of the Survey of India.