Since devolution its powers are limited to those relating to reserved matters that are not dealt with by other departments of HM Government as well as relations with the devolved bodies. Along with the Wales Office, the Scotland Office has shared administrative functions first with the 2007 Department for Constitutional Affairs and later the Ministry of Justice. The Secretary of State for Scotland also holds certain powers of oversight over the operation of the Scottish Parliament under the Scotland Act 1998.