Justice minister Jeremy Wright is to become the new attorney general as No. 10′s cabinet reshuffle brings to an end Dominic Grieve's four-year stint as the government's chief legal adviser.

Wright, the Conservative MP for Kenilworth and Southam, was called to the bar in 1996, and has served as justice minister with specific responsibility for prisons and rehabilitation since September 2012. He specialises in criminal law, and is a member of the crime group at No. 5 Chambers.

Following his graduation from Exeter University with a degree in Law, he acted as a advocate in criminal courts across the West Midlands. He served as a member of the Justice Committee in 2007, and became a government whip in 2010.

Wright is seen as tough on prison perks, having recently defended the government's position to ban books for prisoners and called for privileges to be "gained through hard work and appropriate behaviour."

Grieve (pictured) took on the role of attorney general when the coalition government was formed in 2010 after he held his seat as Conservative MP for Beaconsfield in the May general election that year.

He will exit the position a few months after the Court of Appeal ruled his decision to stop letters the Prince of Wales wrote to UK ministers going public was unlawful.

Also promoted in the cabinet reshuffle was women's minister Nicky Morgan, a former solicitor with Allen & Overy and Travers Smith, who will become the new education secretary, replacing Michael Gove.