Donald Trump capped a fraught midterm election period by firing his attorney general, Jeff Sessions, in a move that immediately provoked fear he may move against the Russia investigation headed by special counsel Robert Mueller.

The US president spent the day after the night before sparring with journalists in a rare set-piece press conference at the White House. The Republican, who appeared tired and on a short fuse, told one reporter to “just sit down” and called him “the enemy of the people” as he was grilled for some 90 minutes after his party lost control of the House of Representatives.

Nonetheless, Mr Trump sought to portray the GOP’s showing as a historic success, with candidates having prevailed in an unusual number of Senate races, he said. In one closely-watched contest, the Texas incumbent Ted Cruz narrowly defeated Beto O’Rourke, the Democrat darling of social media, who observers later tipped as a possible candidate for president in 2020.

During his news conference Mr Trump appeared to extend an olive branch to Democrats, with whom he said he believed his Republican colleagues could produce “a lot” of legislation, particularly on infrastructure. He has pledged to invest hundreds of millions of dollars to modernise crumbling elements of the US’ road system and for improvements in other areas.

But he said that bipartisan working would be contingent on his opponents refraining from opening a string of investigations into his affairs. Democrats have already said they plan to do just that, probing the president’s tax returns, alleged conflicts of interest and other sore points now that they control several influential House committees.

Mr Trump’s first public appearance following the polls veered wildly from outright conflict with the media to praising incoming House speaker Nancy Pelosi and envisioning peace, love and harmony among politicians and their constituents – pointing the finger at journalists for having sown division in the past.

Story continues

The president hit out at CNN‘s Jim Acosta in particular after the reporter questioned him first over his rhetoric on immigration and then on Mr Mueller’s investigation. Mr Trump told Mr Acosta, who at times spoke over him and refused to relinquish his microphone, that “CNN should be ashamed of itself having you working for them”.

He also berated a black reporter for asking a “racist question” about his decision to declare himself a nationalist. Mr Trump was asked by Yamiche Alcindor, of PBS Newshour, whether his rhetoric had “emboldened” white nationalists. Mr Trump said that “it’s a very racist question” and that “it’s a very terrible thing you said to me”, adding: ”I don’t believe it ... why do I have my highest numbers with African-Americans?”

As reporters gathered themselves following the marathon press conference, another bombshell dropped – Jeff Sessions had resigned at the president’s request. The attorney general’s sacking came after months of very public vitriol directed his way by Mr Trump, who was incensed by the former Alabama senator’s decision to recuse himself from oversight of Mr Mueller’s probe into alleged collusion between the Trump campaign for president and Russia.

“Since the day I was honoured to be sworn in as attorney general of the United States, I came to work at the Department of Justice every day determined to do my duty and serve my country,” Mr Sessions wrote in his resignation letter.

His departure – televised and made while surrounded by applauding colleagues including his deputy, Rod Rosenstein, and his successor, Matthew Whitaker – sparked warnings of a “constitutional crisis”. Senate minority leader Chuck Schumer and others warned Mr Trump not to move against Mr Mueller now that Mr Sessions was out of the way.

See below how we covered the midterms, and the aftermath, live

Please allow a moment for the live blog to load