Opponents are accusing UK Prime Minister Boris Johnson of appointing a "Cabinet from hell" after he hired a home secretary who supported the death penalty, a deputy who has called feminists "obnoxious bigots," and four ministers who voted against legislation for same-sex marriage.

Shortly after becoming prime minister on Wednesday, Johnson conducted the most brutal cabinet purge in modern UK political history to reunite the team that won the European Union referendum campaign in 2016.

Three ministers in Johnson's new-look team have previously been sacked or forced to resign from the Cabinet in disgrace.

"This is a Tory Cabinet from hell, which Donald Trump or Nigel Farage would be proud of — with members that want to scrap the Barnett formula, privatize the NHS, roll back workers' rights, undo the welfare state, cut taxes for the rich, and even bring back the death penalty," the Scottish National Party's Pete Wishart said.

LONDON — Prime Minister Boris Johnson's opponents have accused him of creating a "Cabinet from hell" after he appointed a home secretary with a history of supporting the death penalty, a deputy who has called feminists "obnoxious bigots," and multiple ministers who voted against legislation for same-sex marriage.

Johnson, who became prime minister on Wednesday, conducted the most brutal cabinet purge in modern UK political history, as ministers who backed his rival Jeremy Hunt were thrown out of Cabinet.

He shocked Westminster by bringing in Dominic Cummings, the controversial campaign director who ran the Vote Leave campaign, while dominating his top team with prominent Brexit campaigners.

Pledging to deliver Britain's exit from the European Union by October 31, with "no ifs or buts," Johnson fired 17 Cabinet ministers and gave many top jobs to members of Parliament who had been involved in the Vote Leave team, handing Michael Gove the job of no-deal preparations as chancellor of the Duchy of Lancaster.

Read more: Boris Johnson appoints Cabinet of Brexiteers after brutal purge of Jeremy Hunt supporters

Priti Patel, the prominent Brexiteer who replaces Sajid Javid as home secretary, holds numerous staunch views, including a history of supporting the death penalty.

"I do think that when we have a criminal-justice system that continuously fails in the country and where we have seen murderers and rapists … reoffend and do those crimes again and again, I think that's appalling," she said in 2011.

"On that basis alone I would support the reintroduction of capital punishment to serve as a deterrent."

She later renounced her support for capital punishment in her role as international development secretary, a job from which she was fired in 2017 for holding a series of secret meetings with Israeli politicians during what she said was a family holiday.

Key Cabinet appointments

Boris Johnson, prime minister

Sajid Javid MP, chancellor of the Exchequer

Dominic Raab MP, foreign secretary and first secretary of state

Michael Gove, chancellor of the Duchy of Lancaster

Priti Patel, home secretary

Ben Wallace, defense secretary

Matt Hancock, health secretary

Patel is one of three new ministers who have previously been sacked from the Cabinet or forced to resign. New Education Secretary Gavin Williamson was sacked earlier this year following allegations that he had leaked sensitive information from a meeting of the National Security Council to a journalist.

Read more: Gavin Williamson 'wanted to invade Africa' and risked war with China, May allies say

Grant Shapps, the new transport secretary, was forced to resign as international development secretary in 2015 in disgrace in the wake of revelations that he had been aware of a bullying scandal in his role as party chairman before the death of one of its young activists.

Four Cabinet ministers — Gavin Williamson, Esther McVey, Andrea Leadsom, and Jacob Rees-Mogg — have voted against allowing same-sex couples to marry.

Dominic Raab, the new foreign secretary and first secretary of state — a role that will see him deputize for Johnson — also holds highly controversial views on women.

He said in 2011 that "men are getting a raw deal" and that "feminists are now amongst the most obnoxious bigots." He stood by that position earlier this summer by saying it was "really important that in the debate on equality we have a consistency and not double standards and hypocrisy."

The Scottish National Party said Johnson's new government was "shaping up to be the worst since Thatcher" and was "packed full of extreme Brexiteers and rabid right-wingers who want to drag us back to a bygone era."

"This is a Tory Cabinet from hell, which Donald Trump or Nigel Farage would be proud of — with members that want to scrap the Barnett formula, privatize the NHS, roll back workers' rights, undo the welfare state, cut taxes for the rich, and even bring back the death penalty," SNP MP Pete Wishart said.

The chairman of the opposition Labour Party, Ian Lavery, described Johnson's top team as "a cabinet of hardline conservatives who will only represent the privileged few."

He added: "We need a general election and a Labour government that will bring real change for the many, not the privileged few, which Johnson and his cabinet represent."