Alajos Károlyi entered the Austrian diplomatic service at the age of 19, and in 1845 became an attaché to the Berlin embassy. He was assigned successively to Austrian embassies at various European capitals; from 1853 at the diplomatic mission in London. In 1858 he was sent to Saint Petersburg on a special mission to seek the support of Russia in the threatening Franco-Austrian War against Napoleon III.