A British politician was branded a “disgustingly morally bankrupt person” in his own Twitter feed Tuesday — when one of his communications staffers appeared to hijack the account and use it to go on a scorched-earth screed about his boss.

The stinging diatribe on Member of Parliament Jared O’Mara’s feed was signed by staffer Gareth Arnold, saying: “Consider this my resignation.”

“Comms Team signing off… forever: Jared, you are the most disgustingly morally bankrupt person I have ever had the displeasure of working with,” the rant read. “You do not care about your constituents. You do not care about anyone but yourself.”

“I cannot and will not defend you and your vile, inexcusable contempt for the people who voted you in. You selfish, degenerate pr-ck,” it continued. “Sheffield Hallam deserves so much better than you. You have wasted opportunities which people dare not to even dream of.”

O’Mara was elected to the UK’s Parliament in June 2017 as a Labour Party member, but was suspended from the party for online comments he made that were deemed racist, misogynistic and homophobic, according to the BBC.

He was reinstated but eventually resigned from the party and is now an independent MP.

In April, O’Mara suspended constituents’ casework for a month as he moved to a new office and recruited new staff. The UK Star reported at the time that all his staff had either resigned or been fired.

In the Twitter rant, O’Mara’s communications staffer apparently wrote: “My fear is that now (as I quit) the rest of the staff will leave and once again you will close your office and stop helping anyone but still take your wages…”

On his what appears to be Arnold’s personal Twitter account, he said O’Mara “needs my phone to login to his Twitter.”

“Sorry mate. Consider it payback for all the nonsense I said to people defending you,” he tweeted.