Attorney General Jeff Sessions has resigned after enduring almost two years of abuse from President Donald Trump. Sessions said he resigned at the request of the President.

The move ends Sessions' tenure as the nation's top law-enforcement officer. From almost the beginning of his time in office, he faced repeated insults from Trump over his decision to recuse himself from special counsel Robert Mueller's probe into Russian interference in the 2016 election. Sessions served in the president's campaign and in the transition from former President Obama to Trump. He was formerly a Republican Senator from Alabama.

Matthew Whitaker, 49, now the attorney general's chief of staff, will take over as acting attorney general. Whitaker is the former U.S. attorney for the Southern District of Iowa, serving from 2004 to 2009. He was appointed by President George W. Bush. 

As a result of Session's quitting, Whitaker will now be in charge of the Mueller probe. Deputy Attorney General Rod Rosenstein had been overseeing Mueller following Sessions' recusal.

"The Acting Attorney General is in charge of all matters under the purview of the Department of Justice," said spokeswoman Sarah Isgur Flores.