 Initially raised in Paris, he moved with his family to Oaklands, an estate near Sedlescombe, East Sussex, in 1832.He attended Harrow School, the École Privat, Geneva, and Trinity College, Cambridge, graduating with a B.A.in mathematics in 1844.