Boris Johnson announced he will seek to trigger a snap election after 21 Conservative MPs rebelled during a crunch vote.

MPs voted in favour of allowing a cross-party alliance to take control of the Commons agenda on Wednesday in a bid to block a no-deal Brexit on 31 October by 328 votes to 301.

Analysis of the Commons division list showed 21 Tories rebelled to support the motion on Tuesday night.

The government has said the whip will be withdrawn from all of those who rebelled.

Shortly after the results were announced, the prime minister said he would table a motion under the Fixed-term Parliaments Act.

Opposing protesters flock to parliament on would be date of Brexit Show all 30 1 /30 Opposing protesters flock to parliament on would be date of Brexit Opposing protesters flock to parliament on would be date of Brexit Pro-Brexit leave the European Union supporters attend a rally in Parliament Square after the final leg of the "March to Leave" in London AP Opposing protesters flock to parliament on would be date of Brexit The protest march which started on March 16 in Sunderland, north east England, finished on what was the original date for Brexit to happen before the recent extension Reuters Opposing protesters flock to parliament on would be date of Brexit A Brexit supporter holds up a poster during a rally after the final leg of the "March to Leave" in London, Friday, March 29, 2019. Pro-Brexit demonstrators were gathering in central London on the day that Britain was originally scheduled to leave the European Union. (AP Photo/ Kirsty Wigglesworth) Kirsty Wigglesworth AP Opposing protesters flock to parliament on would be date of Brexit A pro-Brexit protester holds a sign next to a statue of Winston Churchill at the March to Leave demonstration in London, Britain March 29, 2019. REUTERS/Toby Melville TOBY MELVILLE Reuters Opposing protesters flock to parliament on would be date of Brexit Brexit demonstrators in Parliament Square in Westminster, London. PRESS ASSOCIATION Photo. Picture date: Friday March 29, 2019. See PA story POLITICS Brexit. Photo credit should read: Jonathan Brady/PA Wire Jonathan Brady PA Opposing protesters flock to parliament on would be date of Brexit Pro-Brexit protesters hold signs and wave flags at the March to Leave demonstration in London, Britain March 29, 2019. REUTERS/Toby Melville TOBY MELVILLE Reuters Opposing protesters flock to parliament on would be date of Brexit epa07471421 Pro-Brexit protesters gather outside of the Parliament for Nigel Farage's 'March to Leave' in London, Britain, 29 March 2019. MPs rejected Prime Minister's May EU withdrawal agreement earlier in the day. EPA/NEIL HALL NEIL HALL EPA Opposing protesters flock to parliament on would be date of Brexit A Brexit supporter sips a can of Stella in protests outside of the Houses of Parliament AFP/Getty Opposing protesters flock to parliament on would be date of Brexit Dedicated anti-Brexit campaigner Steve Bray and likewise pro-Brexit campaigner Joseph Afrane go head to head near the Houses of Parliament AFP/Getty Opposing protesters flock to parliament on would be date of Brexit A pro-Brexit marching band in Parliament Square Getty Opposing protesters flock to parliament on would be date of Brexit Remain supporters wave EU flags from a bus in Parliament Square PA Opposing protesters flock to parliament on would be date of Brexit A Brexit supporter shouts slogans outside parliament EPA Opposing protesters flock to parliament on would be date of Brexit A Brexit supporter protests outside parliament Reuters Opposing protesters flock to parliament on would be date of Brexit A Brexit supporter protests outside of the Houses of Parliament Getty Opposing protesters flock to parliament on would be date of Brexit Brexit supporters protest outside of the Houses of Parliament REUTERS Opposing protesters flock to parliament on would be date of Brexit A pro-Brexit flag is waved in Parliament Square AP Opposing protesters flock to parliament on would be date of Brexit The March to Leave nears the Houses of Parliament Reuters Opposing protesters flock to parliament on would be date of Brexit A Brexit protester holds a sign outside parliament EPA Opposing protesters flock to parliament on would be date of Brexit Brexit supporters carry the coffin of democracy AFP/Getty Opposing protesters flock to parliament on would be date of Brexit Brexit supporters march outside parliament AFP/Getty Opposing protesters flock to parliament on would be date of Brexit Brexit supporters take part in the March to Leave protest in London PA Opposing protesters flock to parliament on would be date of Brexit Brexit supporters protest outside parliament AFP/Getty Opposing protesters flock to parliament on would be date of Brexit A Brexit supporter holds a sign outside the Houses of Parliament Getty Opposing protesters flock to parliament on would be date of Brexit A man holds satirical paintings of politicians Reuters Opposing protesters flock to parliament on would be date of Brexit An pro-Brexit float on the March to Leave march in London Reuters Opposing protesters flock to parliament on would be date of Brexit Far-right activist Tommy Robinson addresses protesters outside the Houses of Parliament Getty Opposing protesters flock to parliament on would be date of Brexit A Brexit supporter outside the Houses of Parliament Reuters Opposing protesters flock to parliament on would be date of Brexit A Tommy Robinson supporter arrives at the Houses of Parliament Getty Opposing protesters flock to parliament on would be date of Brexit A jogger gestures rudely at a Brexit supporter outside of the Houses of Parliament AFP/Getty Opposing protesters flock to parliament on would be date of Brexit A Brexit supporter outside the Houses of Parliament PA

But Labour indicated that they would not support the move until chances of a no-deal Brexit were taken off the table.

The 21 Conservative MPs listed as voting for the motion were:​

Guto Bebb (Aberconwy)

Richard Benyon (Newbury)

Steve Brine (Winchester)

Alistair Burt (North East Bedfordshire)

Greg Clark (Tunbridge Wells)

Kenneth Clarke (Rushcliffe)

David Gauke (South West Hertfordshire)

Justine Greening (Putney)

Dominic Grieve (Beaconsfield)

Sam Gyimah (East Surrey)

Philip Hammond (Runnymede and Weybridge)

Stephen Hammond (Wimbledon)

Richard Harrington (Watford)

Margot James (Stourbridge)

Oliver Letwin (West Dorset)

Anne Milton (Guildford)

Caroline Nokes (Romsey and Southampton North)

Antoinette Sandbach (Eddisbury)

Nicholas Soames (Mid Sussex)

Rory Stewart (Penrith and The Border)