 Anrep married Cecelia Julie Philippine Elmpt.On 6 May 1853, by edict of the Tzar, he was styled Count Anrep-Elmpt in order to preserve the title of his wife's grandfather, Count von Elmpt, who had no other heir.At the start of the Crimean War, Anrep was a colonel in Russian army, but he was quickly promoted to general.