<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.1% in favour of leaving and 47.9% against. The UK’s decision to leave the EU was based on a number of factors, including the UK’s desire to regain control over its borders, its desire to reduce immigration, and its desire to reduce the power of the European Court of Justice.