The Scottish and UK Governments have agreed a set of principles to underpin the transfer of powers back from the European Union.

It represents the first agreement of any kind between Whitehall and the devolved administrations since the UK voted to leave the EU in June 2016.

Despite the progress, the Scottish Government said it still intends to put forward amendments to the UK Government's Brexit Bill and cannot recommend MSPs give their consent to the legislation.

Scottish Brexit minister Michael Russell met his counterpart David Davis, first secretary of state Damian Green and Scottish secretary David Mundell as part of the joint ministerial committee in London.

A Welsh government minister as well as a senior Northern Irish civil servant were also involved in the talks.

All sides agreed the new common UK framework, which will in many ways simply repeal and replace the current European-wide frameworks, should "respect the devolution settlements" including the current competences of each institution.

Green said: "Following a set of constructive discussions with the Scottish and Welsh governments, we have today agreed a set of principles that will underpin the process of repatriating EU powers.

"On the day when the UK leaves the EU, all parts of the UK need to be ready. It is the government's intention that the EU Withdrawal Bill will ensure a strong UK internal market, while safeguarding and adding to the decision-making powers of the devolved administrations.

"These principles will hopefully now pave the way to agreeing a set of frameworks that will deliver vital certainty and continuity for people and businesses across the United Kingdom."

Russell said: "Today's joint ministerial committee meeting was a tale of two halves. We have been able to make some progress, including agreeing general principles that should ensure the role of the Scottish Parliament in any potential UK or GB wide frameworks.

"However, we remain unable to recommend the Scottish Parliament consent to the EU Withdrawal Bill as currently drafted and will not be able to do so until the power grab is removed from the bill.

"I have and will continue to press for the amendments suggested by ourselves and the Welsh Government to be accepted, removing the power grab and providing a clear solution that respects devolution."