Jeremy Corbyn has called on Boris Johnson to resign after the Supreme Court ruled the prime minister's suspension of parliament unlawful in an an unprecedented judgement.

To huge cheers and chants of “Johnson out!”, the Labour leader said the prime minister should become the shortest-ever serving leader and that his party was ready to form a government.

“I invite Boris Johnson, in the historic words, to 'consider his position' and become the shortest prime minister there’s ever been,” he told delegates at the Labour Party's annual conference in Brighton.

On the judges verdict, Mr Corbyn said: “It demonstrates a contempt for democracy and an abuse of democracy by him.”

“I will be in touch with [Speaker Bercow] immediately so that we demand parliament is recalled so we can question the prime minister and demand that he obeys the law that has been passed by parliament.”

Supreme Court protests: Boris Johnson's prorogation legal or not? Show all 15 1 /15 Supreme Court protests: Boris Johnson's prorogation legal or not? Supreme Court protests: Boris Johnson's prorogation legal or not? Protesters gather outside The Supreme Court ahead of a hearing on the legality of Boris Johnson's proroguing of Parliament Getty Supreme Court protests: Boris Johnson's prorogation legal or not? The supreme court justices will sit as a panel of 11 judges to hear the challenge, brought by campaigner Gina Miller, that the Prime Minister acted unlawfully when he advised the Queen to suspend parliament AP Supreme Court protests: Boris Johnson's prorogation legal or not? A woman protests outside the Supreme Court Reuters Supreme Court protests: Boris Johnson's prorogation legal or not? The PM sent lawmakers home on 9 September until 14 October, just over two weeks before the UK is due to leave the European Union AP Supreme Court protests: Boris Johnson's prorogation legal or not? Gina Miller arriving AP Supreme Court protests: Boris Johnson's prorogation legal or not? People protest outside the Supreme Court Reuters Supreme Court protests: Boris Johnson's prorogation legal or not? Boris Johnson likened himself to the Incredible Hulk days previous as he promised to ignore the Commons legislation ordering him to delay Brexit if negotiations break down PA Supreme Court protests: Boris Johnson's prorogation legal or not? Officials bring in documents Reuters Supreme Court protests: Boris Johnson's prorogation legal or not? Protesters hold banners outside the Supreme Court in London, Tuesday Sept. 17, 2019. The Supreme Court is set to decide whether Prime Minister Boris Johnson broke the law when he suspended Parliament on Sept. 9, sending lawmakers home until Oct. 14 â€” just over two weeks before the U.K. is due to leave the European Union. (AP Photo/Matt Dunham) Matt Dunham AP Supreme Court protests: Boris Johnson's prorogation legal or not? Protesters hold banners outside the Supreme Court in London, Tuesday Sept. 17, 2019. The Supreme Court is set to decide whether Prime Minister Boris Johnson broke the law when he suspended Parliament on Sept. 9, sending lawmakers home until Oct. 14 â€” just over two weeks before the U.K. is due to leave the European Union. (AP Photo/Matt Dunham) Matt Dunham AP Supreme Court protests: Boris Johnson's prorogation legal or not? Protesters hold banners outside the Supreme Court in London, Tuesday Sept. 17, 2019. The Supreme Court is set to decide whether Prime Minister Boris Johnson broke the law when he suspended Parliament on Sept. 9, sending lawmakers home until Oct. 14 â€” just over two weeks before the U.K. is due to leave the European Union. (AP Photo/Matt Dunham) Matt Dunham AP Supreme Court protests: Boris Johnson's prorogation legal or not? People protest outside the Supreme Court of the United Kingdom during a hearing on Prime Minister Boris Johnson's decision to prorogue parliament, in London, Britain September 17, 2019. REUTERS/Phil Noble PHIL NOBLE Reuters Supreme Court protests: Boris Johnson's prorogation legal or not? Protesters hold banners outside the Supreme Court in London, Tuesday Sept. 17, 2019. The Supreme Court is set to decide whether Prime Minister Boris Johnson broke the law when he suspended Parliament on Sept. 9, sending lawmakers home until Oct. 14 â€” just over two weeks before the U.K. is due to leave the European Union. (AP Photo/Matt Dunham) Matt Dunham AP Supreme Court protests: Boris Johnson's prorogation legal or not? Joanna Cherry of the Scottish National Party leaves the Supreme Court Reuters Supreme Court protests: Boris Johnson's prorogation legal or not? Demonstrators protest outside the Supreme court in central London on the first day of the hearing into the decision by the government to prorogue parliament on September 17, 2019. (Photo by Tolga Akmen / AFP)TOLGA AKMEN/AFP/Getty Images TOLGA AKMEN AFP/Getty

The Supreme Court's president, Lady Hale said it would be for the speakers of the House of Commons and House of Lords to "take immediate steps to enable each House to meet as soon as possible".

"Unless there is some Parliamentary rule of which we are unaware, they can take immediate steps to enable each House to meet as soon as possible," she continued.

Unveiling the verdict of 11 justices, she said the prorogation of parliament itself was "void and of no effect" and therefore parliament has not been suspended.

In a statement released moments the unanimous ruling in central London, John Bercow, the Commons speaker, said he would be consulting with party leaders as to when parliament should reconvene. "I welcome the Supreme Court’s judgement that the prorogation of parliament was unlawful," he said.

Mr Bercow added: "The judges have rejected the government’s claim that closing down parliament for five weeks was merely standard practice to allow for a new Queen’s Speech."

"In reaching their conclusion, they have vindicated the right and duty of parliament to meet at this crucial time to scrutinise the executive and hold ministers to account. As the embodiment of our parliamentary democracy, the House of Commons must convene without delay. To this end, I will now consult the party leaders as a matter of urgency."

Keir Starmer, the shadow Brexit secretary, added that prime minister's questions should take place on Wednesday, so that Mr Johnson, who is currently in New York and the United Nations general assembly, can be interrogated by MPs.

Former Conservative cabinet minister, Amber Rudd, who resigned from the government over Mr Johnson's approach to Brexit, said: "Despite personal assurances from the PM, the cabinet was not shown the legal advice around this prorogation.