Donald Trump has offered the position of U.S. attorney general to Alabama Sen. Jeff Sessions, senior Trump transition sources told ABC News.

Sessions earned Trump's favor after becoming the first GOP senator to officially endorse the candidate in February during the Republican primary.

He proved himself a loyal adviser to Trump on immigration issues and the Supreme Court, and stood by Trump's side through various controversies that many of his fellow Republican lawmakers assumed would sink his candidacy.

The Senate Judiciary Committee member has been a regular visitor to Trump Tower over the past week as Trump has huddled with close advisers in deliberating how he will staff his administration.