Just hours after the 2018 midterm elections, President Trump has announced Attorney General Jeff Sessions is leaving the Department of Justice.

....We thank Attorney General Jeff Sessions for his service, and wish him well! A permanent replacement will be nominated at a later date. — Donald J. Trump (@realDonaldTrump) November 7, 2018

Attorney General Sessions submitted his resignation at the request of President Trump. In other words, he was fired.

"At your request, I am submitting my resignation. Since the day I was honored to be sworn in as Attorney General of the United States, I came to work at the Department every day determined to do my duty and serve my country. I have done so to the best of my ability, working to support the fundamental legal processes that are the foundation of justice," Sessions wrote in his resignation letter. "In my time at Attorney General, we have restored and upheld the rule of law --- a glorious tradition that each of us has a responsibility to safeguard. We have operated with integrity and have lawfully and aggressively advanced the policy agenda of the administration."

"I have been honored to serve as Attorney General and have worked to implement the law enforcement agenda based on the rule of law that formed a central part of your campaign for the Presidency."

President Trump has been unhappy with Sessions for nearly two years after he recused himself from the Russia investigation. Trump has regularly berated the former Attorney General on Twitter, despite Sessions being the first U.S. Senator to endorse him during the 2016 presidential election.

....The Democrats, none of whom voted for Jeff Sessions, must love him now. Same thing with Lyin’ James Comey. The Dems all hated him, wanted him out, thought he was disgusting - UNTIL I FIRED HIM! Immediately he became a wonderful man, a saint like figure in fact. Really sick! — Donald J. Trump (@realDonaldTrump) September 3, 2018

Attorney General Jeff Sessions has taken a VERY weak position on Hillary Clinton crimes (where are E-mails & DNC server) & Intel leakers! — Donald J. Trump (@realDonaldTrump) July 25, 2017

During a press conference at the White House Wednesday, President Trump said he is satisfied with the performance of "most of his Cabinet," but left room for major changes in the coming days and weeks. This is one of them.

With a larger majority in the Senate, a replacement for Sessions will have an easier time getting through confirmation.

Thx to AG Jeff Sessions for his service to our country both leading the DOJ & in the US Senate serving the ppl of Alabama I‘ve enjoyed working with him for decades. He is a true public servant + I appreciate his friendship — ChuckGrassley (@ChuckGrassley) November 7, 2018

You can read Sessions' full resignation letter below.

Letter From the Attorney General by Katie Pavlich on Scribd