Original sentence: Commentators have stated that it will undermine the regulatory competence of the Parliament and diminish its authority, limiting its ability to make different economic or social choices to those made in Westminster and to focus and plan investement in infrastructure in Scotland.Some of the changes have led to expansion of the Parliament's powers, especially over taxation and welfare, while the latter restricts the operation of devolved competences in certain areas, and was opposed by the Scottish Government.The Scotland Act 2012 and the Scotland Act 2016 extended the devolved competencies, however, under the UK Government lead by Boris Johnson, a new Act, the United Kingdom Internal Market Act 2020, has sought to introduce more limitations on the practical legislative competence of the Scottish Parliament
Edited sentence: Its effect is to undermine the regulatory competence of the Parliament and diminish its authority, limiting its ability to make different economic or social choices to those made in Westminster.Some of the changes led to expansion of the Parliament's powers, especially over taxation and welfare.The Scotland Act 2012 and the Scotland Act 2016 extended the devolved competencies.The United Kingdom Internal Market Act, introduced under the government of Boris Johnson, seeks to restrict the operation of devolved competences in certain areas.The legislation undermines the capability of the Scottish legislature to make different economic or social choices from those made in Westminster.Under the regime of Boris Johnson, the UK government sought through the United Kingdom Internal Market Act 2020 to restrict the practical legislative competence of the Scottish Parliament