 His father, Martin de Villamil owned a large property in Kingston, Jamaica.He attended the Royal Military Academy at Woolwich where he won the Pollock Medal in December 1869.He became an officer in the Royal Engineers, serving in India during the 1870s.