Prime Minister Boris Johnson has agreed to resign, his office said on Thursday, ending an unprecedented political crisis over his future that has crippled Britain's government.

An official in Johnson's Downing Street office confirmed the minister would announce his resignation later. The official spoke on condition of anonymity because the announcement had not yet been made.

Johnson had turned down a call by his cabinet to step down in the wake of ethics scandals. He conceded defeat after more than 40 ministers left the government and asked them to leave.

It was not immediately clear whether Johnson would remain in office while the Conservative Party elects a new leader, who would replace him as prime minister.

Minutes before the news broke, Treasury chief Nadim Zhawi called on Prime Minister Boris Johnson to resign 36 hours after Johnson was hired, while another newly appointed cabinet minister stepped down

Zahavi said Johnson knew "going now" was the right thing to do. Zahavi was appointed late Tuesday to replace Rishi, who resigned saying he could not support Johnson after a series of ethics scandals.

Education Secretary Michelle Donelan, who was appointed on Tuesday following the resignation of her predecessor, announced her resignation on Thursday morning.

Johnson had drawn clamor for his resignation, digging into his heels even after dozens of executives resigned and previously loyal allies urged him to corner his leadership after another scandal.