London (CNN)The UK and Spain reached an agreement Saturday over the status of Gibraltar once the UK has left the European Union.
The accord over the British territory paves the way for approval by 27 EU governments at a summit Sunday on the withdrawal terms of the UK from the bloc next year.
“I have just told the head of state, the King, that Spain has reached an agreement over Gibraltar,” Spanish Prime Minister Pedro Sanchez told reporters in Madrid.