In the British referendum on membership of the European Union 96% of Gibraltarians voted to remain on an 84% turnout. Spain renewed calls for joint Spanish–British control of the peninsula; these were strongly rebuffed by Gibraltar's Chief Minister. On 18 October 2018, however, Spain seemed to have reached an agreement with the United Kingdom in relation to its objections to Gibraltar leaving the EU with the UK, with Spain's prime minister Pedro Sánchez stating, "Gibraltar will no longer be a problem in arriving at a Brexit deal."