In his five years as Labour leader, he lost two general elections and a vote of no-confidence among his MPs but galvanised many on the left and transformed the party into a mass movement.

Here are key moments from Jeremy Corbyn's leadership.

Edited by Nick Raikes

BBC coverage of Labour Party leader and deputy leader results