Her Majesty's Principal Secretary of State for Justice is a senior position in the cabinet of the United Kingdom, held in conjunction with the office of Lord Chancellor since it was created in 2007, replacing the former post of Secretary of State for Constitutional Affairs. On 9 May 2007, the Department for Constitutional Affairs was abolished, and a Ministry of Justice was created in its place. The Ministry of Justice is also responsible for certain functions transferred from the Home Office.