In June 2016, after the events of the "leave" vote in the EU referendum, Labour MPs passed a vote of no confidence in Corbyn. It passed by 172 votes to 40 following the resignation of around two-thirds of Corbyn's Shadow cabinet. He then faced a second leadership contest, against Angela Eagle and Owen Smith. However, in July 2016, Eagle dropped out of the race leaving Smith and Corbyn as the only candidates. On 24 September 2016, Corbyn won the leadership contest against Smith with an increased majority of 61.8%.