<human>:  Why did the UK vote to leave the EU?
<bot>: The UK voted to leave the EU in a referendum held on June 23, 2016. The vote was 52-48 in favor of leaving. The UK had been a member of the European Union since 1973, but the UK had been unhappy with the EU’s policies on immigration and the European Union’s budget.