MPs have voted for the Withdrawal Agreement Bill to take the UK out of the European Union ending a series of defeats for the government on Brexit.

The first vote on Boris Johnson's bill passed by 329 to 299 but he failed to get approval for the swift timetable that would have allowed it to pass through the House of Commons by Thursday.

The government lost the timetable vote by 308 to 322.

How every Sussex MP voted:

Brighton, Kemp Town: Lloyd Russell-Moyle (Labour)

The Argus:

Voted: Against

Brighton, Pavilion: Caroline Lucas (Green)

The Argus: Caroline Lucas, MP for Brighton Pavilion, pictured at The American Express Community Stadium

Voted: Against

Hove: Peter Kyle (Labour)

The Argus:

Voted: Against

Hastings and Rye: Amber Rudd (Ind)

The Argus:

Voted: For

Eastbourne: Stephen Lloyd (Ind)

The Argus: Eastbourne MP Stephen Lloyd

Voted: For

Mid Sussex: Sir Nicholas Soames (Ind)

The Argus: Nicholas Soames is to face a court over a quad bike charge

Voted: For

East Worthing and Shoreham: Tim Loughton (Con)

The Argus: East Worthing and Shoreham MP Tim Loughton

Voted: For

Horsham: Jeremy Quin (Con)

The Argus: Jeremy Quin MP

Voted: For

Worthing West: Sir Peter Bottomley (Con)

The Argus: Peter Bottomley MP

Voted: For

Lewes: Maria Caulfield (Con)

The Argus: Brighton and Hove councillor Maria Caulfield who is standing as an election candidate in Caerphilly.

Voted: For

Bexhill and Battle: Huw Merriman (Con)

The Argus: Bexhill and Battle MP Huw Merriman grills RMT gensec Mick Cash at the Transport Select Committee

Voted: For

Wealden: Nusrat Ghani (Con)

The Argus: Nusrat Ghani MP.  Picture: Ron Hill

Voted: For

Arundel and South Downs: Nick Herbert (Con)

The Argus:

Voted: For

Bognor Regis and Littlehampton: Nick Gibb (Con)

The Argus:

Voted: For

Chichester: Gillian Keegan (Con)

The Argus:

Voted: For

Crawley: Henry Smith (Con)

The Argus:

Voted: For

The Withdrawal Agreement Bill passed with the help of 19 Labour MPs who defied their leader Jeremy Corbyn to vote for the bill.

Despite supporting the bill not all those Labour MPs agreed with the timetable proposed by the government.

This would have seen the bill pass through the House of Commons by the end of Thursday.