In 2016, Edinburgh voted in the European Union membership referendum. While the United Kingdom as a whole voted to leave the EU, Edinburgh overwhelmingly voted to Remain, giving the ninth highest Remain vote share of any counting area. Only Gibraltar and seven boroughs in London had higher vote shares for Remain.