Labour's National Executive Committee has ruled that Jeremy Corbyn will automatically be included on the ballot in the party's leadership contest.

Here we look at some of the key facts and figures around the contest:

  • Labour will set out the timetable for the contest on Thursday. It will include details of when nominations open and close along with the date the result is declared.
  • For two days next week people will be able to sign up to become registered supporters, a one-off status that gives them a vote in the contest, for £25.
  • The election will take place on a one-member-one-vote basis with members, affiliates and registered supporters taking part.

READ MORE: Unions warn against 'sordid fix' to remove Jeremy Corbyn ahead of Labour leadership ballot

  • A special conference announcing the results is scheduled for September 24, according to the New Statesman.
  • When Mr Corbyn was elected leader, he secured 59.5% of the vote in the first round after a surge in support from registered supporters. He topped the ballot among party members, trade unionists and new supporters.
  • Labour Party membership reportedly rose from about 200,000 in May 2015 to almost 400,000 in January of 2016 with much of that surge attributed to support for Mr Corbyn.

Here is a timeline of the key events leading up to the contest.

  • June 24 2016

Mr Corbyn is urged to reconsider his position as Labour leader as his party is plunged into bitter recrimination after voters backed Brexit. Labour MP Angela Smith insists Mr Corbyn must accept his share of the responsibility at the forefront of the Labour "In" campaign, with traditional voters for the party turning their backs on appeals to vote Remain. Former Labour minister and EU commissioner Lord Mandelson also says the referendum campaign shows Mr Corbyn ''can't cut it'' as leader. Mr Corbyn insists he will be carrying on and ''making the case for unity''.

  • June 26 2016

11 members of the shadow cabinet quit Mr Corbyn's top team in despair at his ability to win a general election. He vows to battle the co-ordinated attempt to topple him as he insists he will not ''betray'' the trust of the party members who elected him. Chris Bryant warns Mr Corbyn risks going down in history as ''the man who broke the Labour Party'' unless he stands aside. Further resignations follow.

  • June 27 2016

Mr Corbyn's grip on the Labour leadership looks increasingly weak as Angela Eagle becomes the most senior member of his shadow cabinet to quit. Ms Eagle, the shadow first secretary of state who deputises for Mr Corbyn at Prime Minister's Questions, said ''we need a leader who can unite rather than divide the Labour Party''. Mr Corbyn tells MPs that the country is divided and will not thank either party for ''indulging in internal factioning manoeuvring at this time''.

  • June 28 2016

A defiant Mr Corbyn said he will not ''betray'' his supporters by resigning following an overwhelming vote of no confidence by MPs. The Labour leader said the vote by the Parliamentary Labour Party had no ''constitutional legitimacy'' under party rules. Although there is no official announcement of the voting figures, sources said it is 172 to 40 in support of the motion with four spoilt papers.

  • June 29 2016

David Cameron calls for Mr Corbyn to stand down in the national interest saying: ''For heaven's sake man, go.'' Former Labour leader Ed Miliband also calls on Mr Corbyn to quit, saying his position is ''untenable''. But unions say Mr Corbyn is the democratically-elected leader of Labour and his position should not be challenged except through the proper democratic procedures provided for in the party's constitution.

  • June 30 2016

Mr Corbyn defiantly continues to cling on as Labour leader in the face of a Jewish backlash, fresh calls to quit and another frontbench resignation. Chief Rabbi Ephraim Mirvis leads condemnation of Mr Corbyn after he drew comparisons between Israel and Islamic State (IS). The Opposition leader is also accused of creating a party that is not safe for Jews by one of his MPs.

  • July 1 2016

Mr Corbyn is likely to face a leadership challenge in ''the next few days'', his ally and shadow chancellor John McDonnell said.

READ MORE: Sturgeon to get powers to create new benefits payments within weeks

  • July 2 2016

Mr Corbyn's beleaguered leadership is facing yet more pressure as polling indicates more than half the members of Britain's biggest trade union want him to quit. Some 49% of people signed up to Unite want the Labour leader to go immediately while a further 10% believe he should resign before the next general election, according to a poll seen by the Guardian. Among Labour voters, 61% said he is doing badly in the job, the YouGov Election Data survey found. Meanwhile, Angela Eagle renews her call for Mr Corbyn to quit for the good of the ''party and the country''. The former shadow business secretary is poised to mount a challenge to Mr Corbyn, with ex-shadow work and pensions secretary Owen Smith also believed to be considering a bid.

  • July 9 2016

Mr Corbyn pleads for the party to ''come together'' as the crisis around his leadership deepens. Deputy Labour leader Tom Watson pulls out of peace talks with the trade unions aimed at breaking the deadlock between Mr Corbyn and his MPs because ''there is no realistic prospect of reaching a compromise'' while the leader remained determined to stay in place. Mr Watson's decision to pull the plug on the talks makes the prospect of a leadership challenge more likely.

  • July 10 2016

Mr Corbyn insists he will fight for the Labour leadership and said he is ''disappointed'' that Angela Eagle is poised to challenge him. The Labour leader urged Ms Eagle to ''think for a moment'' about her actions. On BBC One's Andrew Marr Show Mr Corbyn says he has ''reached out in a way no other leader has'' in an attempt to unite all parts of the party. Ms Eagle insists she can save Labour as she prepares to formally launch a leadership contest with the potential to rip the party apart.

  • July 11 2016

Ms Eagle insists she has not embarked on a political ''suicide mission'' as she launches her bid to topple Mr Corbyn. She said she could make Labour electable again after the ''howl of pain'' expressed in the Brexit vote.

READ MORE: Labour MPs will understand they must come together, says defiant Jeremy Corbyn

  • July 12 2016

Mr Corbyn said it is ''extremely concerning'' that the constituency office of Angela Eagle has been attacked and that ''other MPs are receiving abuse and threats'', adding that he has received death threats this week.

Later, it emerges that Mr Corbyn will automatically be included on the ballot in Labour's leadership contest following a vote by the ruling National Executive Committee. He says he is ''delighted'' and pledges to campaign ''on all the things that matter''.