Former British Prime Minister Boris Johnson announced that he was stepping down as a Member of Parliament in a lengthy, defensive statement Friday.

The embattled politician left the premiership in September 2022, after he was accused of hosting parties at the prime minister's official residence — 10 Downing Street — that violated COVID-19 social distancing during the height of the pandemic. 

He represented Uxbridge and South Ruislip in Greater London in Parliament until Friday.

In his resignation letter, Johnson pointed to a report from the Commons Select Committee of Privileges over whether Johnson had deceived the House of Commons by saying that he followed all COVID-19 strick lockdown rules amid the "Partygate" scandal. 

The committee had the power to suspend him for more than 10 days.

"I have received a letter from the Privileges Committee making it clear — much to my amazement — that they are determined to use the proceedings against me to drive me out of Parliament," Johnson wrote in a statement.

RISHI SUNAK TO PITCH UK AS WORLD LEADER OF AI DURING MEETING WITH BIDEN: REPORT

UK Prime Minister Boris Johnson waves to reporters July 6, 2022 in London

British Prime Minister Boris Johnson gestures as he leaves 10 Downing Street in London, Wednesday, July 6, 2022.  (AP Photo/Frank Augstein, File)

"I am being forced out by a tiny handful of people, with no evidence to back up their assertions, and without approval even of Conservative party members let alone the wider electorate," the statement added.

In the letter, Johnson defended his innocence by arguing that there was no incriminating evidence and that the committee members had made "deeply prejudicial" statements about his supposed guilt.

"They should have recused themselves," Johnson said. "In retrospect, it was naive and trusting of me to think that these proceedings could be remotely useful or fair."

BRITISH PM RISHI SUNAK REFUSES TO ‘UNPICK HISTORY’ WITH SLAVE TRADE APOLOGY, REPARATIONS

Boris Johnson during speech

British Prime Minister Boris Johnson delivers a speech at Lydd Airport, southeast England, Thursday, April 14, 2022. (AP, File)

"It is very sad to be leaving Parliament — at least for now — but above all I am bewildered and appalled that I can be forced out," the statement added.

Johnson also criticized current Prime Minister Rishi Sunak, who served as Chancellor of the Exchequer in Johnson's cabinet, for the Conservative Party's unpopularity. The party suffered a crisis last fall when polices enacted by then-Prime Minister Liz Truss triggered economic turmoil.

"When I left office last year the government was only a handful of points behind in the polls," Johnson's statement read. "That gap has now massively widened."

Prime Minister Boris Johnson House of Commons

Britain's Prime Minister Boris Johnson speaks during Prime Minister's Questions in the House of Commons, London, Wednesday, May 18, 2022. (Jessica Taylor/UK Parliament via AP, File)

CLICK TO GET THE FOX NEWS APP

Johnson's resignation will trigger a by-election for his seat, which is in a swing district.