While climbing the ranks of the Soviet spy agency, he spent more than a decade working for British intelligence as one of its most highly placed moles.