The ministry was formed in May 2007 when some functions of the Home Secretary were combined with the Department for Constitutional Affairs.[2] The latter had replaced the Lord Chancellor's Department in 2003.