law was born in northrepps, norfolk, england, to rev. patrick comerford law and his wife, frances "nee" arbuthnot. he was educated at the royal military college, sandhurst. from 1864 to 1872, he served in the royal scots fusiliers.