Labour officials ran a secret operation to deceive Jeremy Corbyn at last year’s general election, micro-targeting Facebook adverts at the leader and his closest aides to convince them the party was running the campaign they demanded.

Campaign chiefs at Labour HQ hoodwinked their own leader because they disapproved of some of Corbyn’s left-wing messages.

They convinced him they were following his campaign plans by spending just £5,000 on adverts solely designed to be seen by Corbyn, his aides and their favourite journalists, while pouring far more money into adverts with a different message for ordinary voters.

The ruse is revealed in a new book — Ctrl Alt Delete: How Politics and the Media Crashed Our Democracy — by Tom Baldwin, who served as Ed Miliband’s