Boris Johnson has gone from securing the biggest Tory majority since Margaret Thatcher to being ousted by his own MPs without getting to contest a second election.

In three years, he has gone from the high of replacing Theresa May on the back of the Brexit vote and her Government's subsequent failure to get a deal with the EU, then sweeping back into Downing Street having smashed through the so called Labour Red Wall in the north of England, to a petulant Downing Street speech announcing he is “sad to be leaving the best job in the world”.

He took office in the summer of 2019 and then called, and convincingly won, a General Election in December 2019, just as coronavirus was making its way across the world.

READ MORE:'Them's the breaks' Boris Johnson resigns with swipe at Tory MPs who ousted him

Within months, he had the task of telling the country to “stay at home” as he put the UK into lockdown.

It was a lockdown, with strict rules on meeting others, that was to contribute to his downfall as allegations of parties in Downing Street began to surface once the country was out of the toughest of restrictions.

He was fined by the Metropolitan Police over attendance at a party and the civil servant Sue Gray’s report criticised failings of leadership for allowing other parties to go ahead.

Initially he survived the fallout from that, with supporters backing his call that the country did not need a change of leadership when there was a war in Ukraine affecting all of Europe.

But damage was done and his opponents emboldened, leading to a no confidence motion from Tory MPs which he narrowly survived.

Other scandals dogged his term as Prime Minister, questioning his honesty and integrity.

A redecorating of the Downing Street flat costing more than £100,000 raised concerns when plans to have the refurb funded by Tory party donors was reported.

READ MORE: Names in the frame to take over as Tory Leader and Prime Minister

Last year, Johnson proposed changing the rules to save his friend Owen Paterson MP who was suspended for 30 days form the Commons for breaching lobbying rules.

The Government tried to change the rules to block the suspension.

Paterson eventually resigned as an MP and the Tories lost the once safe seat in a by-election to the LibDems.

The final straw came when he was forced to admit that he knew about past behaviour of ally Christopher Pincher when he promoted him to deputy chief chip when was facing allegations of sexual harassment.

The end finally came when Johnson stood outside number 10 and said: “It is clearly now the will of the parliamentary Conservative Party that there should be a new leader of that party and therefore a new Prime Minister.”