Spain's Prime Minister Pedro Sanchez delivers a statement at the Moncloa Palace in Madrid, Spain, November 24, 2018. Image Credit: Reuters

Spanish Prime Minister Pedro Sanchez said Saturday his government will back a Brexit deal with Britain after reaching an agreement on Gibraltar.

Sanchez had warned he could boycott a special EU summit on Brexit on Sunday if London and Brussels did not confirm his country's right to veto over any future accord on ties with Gibraltar.

"I have just announced to the King of Spain that we have an agreement on Gibraltar," Sanchez said in a televised address. "Spain... will vote in favour of Brexit."

ALSO READ