Scotland's First Minister Nicola Sturgeon says her government will seek to enter into "immediate discussions" with Brussels to "protect Scotland's place in the EU" in the wake of the Brexit vote.

Ms Sturgeon said she will establish an advisory panel with experts to advise her on legal, financial and diplomatic matters as she seeks to continue Scotland's membership.

Speaking outside her official residence in Edinburgh, the First Minister said her cabinet had agreed to begin work on legislation that would allow for the option of a second independence referendum.

62% of Scottish voters voted to remain in the EU on Thursday, but as of now they will leave with the rest of the UK when the exit negotiation is completed within the next two years.

Most people in Scotland and Northern Ireland voted to remain while England and Wales opted to leave, raising questions over the future of the United Kingdom they all belong to.

The pro-Brexit side drew support from millions of voters who felt left behind by globalisation and blamed EU immigration for low wages and stretched public services.

Following the overall 52-48% win for the Leave campaign David Cameron announced that he would resign as Prime Minister.

Mr Cameron said he accepted the decision of the electorate.

Meanwhile, the President of the European Commission, Jean Claude Juncker, has said he wants to start negotiations swiftly on Britain leaving the EU.

Mr Juncker said it did not make sense to wait until October as Mr Cameron had suggested when he announced he would be stepping down.

Mr Juncker said the EU would pursue a reasonable approach in negotiating the separation, but he said it was "not an amicable divorce".