Sajid Javid has dramatically quit as Chancellor in a row with Boris Johnson over his closest aides.

The Prime Minister had been expected to keep Mr Javid in post and news of his resignation shocked Westminster.

Allies of the former chancellor said the Prime Minister had ordered him to fire all of his senior aides if he wanted to remain at the Treasury – something Mr Javid refused to do.

Swindon Advertiser: Sajid Javid had been expected to keep his job as he walked in to Number 10 (Stefan Rousseau/PA)Sajid Javid had been expected to keep his job as he walked in to Number 10 (Stefan Rousseau/PA)

The bombshell came after long-standing rumours of tensions between the ex-chancellor and Mr Johnson’s closest aide Dominic Cummings.

In August he had fired Mr Javid’s aide Sonia Khan and it appears Number 10 wanted to go further in keeping a closer eye on the chancellor.

Mr Javid said that “no self-respecting minister” could accept the condition being imposed.

“He has turned down the job of Chancellor of the Exchequer,” a source close to Mr Javid said.

“The Prime Minister said he had to fire all his special advisers and replace them with Number 10 special advisers to make it one team.

“The Chancellor said no self-respecting minister would accept those terms.”

Mr Javid had walked smiling into Number 10 in a sign that he expected to remain in place ahead of the March 11 Budget.

His departure came after Julian Smith was unceremoniously dumped as Northern Ireland Secretary, Andrea Leadsom was sacked as Business Secretary and Theresa Villiers lost her job as Environment Secretary.

Other senior ministers axed by Boris Johnson included Geoffrey Cox from his post as Attorney General and Esther McVey as housing minister.