President Trump on Monday thanked Attorney General Jeff Sessions for his actions on immigration, a sign the president seems to be moving on after his public complaints about Sessions just a few months ago.

"The Justice Department is doing a fantastic job on the border and with regard to immigration, more than anyone has ever seen before from a Justice Department. Thank you very much, Jeff," Trump said of the nation's top cop following a meeting with his Cabinet.

The compliment is Trump's second of Sessions in less than a month, after the relationship soured earlier this year.

"Sen. Jeff Sessions, you love Jeff Sessions, he's doing a good job. He is doing a good job. We have him very busy watching the borders, a lot of things are happening, but Luther's taking over for Jeff, hopefully, and you are going to be so impressed with what we're going to do in Washington," Trump said at a rally in Alabama in late September.

Trump told the New York Times in July that he wouldn't have appointed Sessions had he known he would recuse himself from the Justice Department's Russia investigation, and followed up with attacking Sessions on Twitter. Speculation flew that Sessions would either resign or be fired.

Then, in September, the Times reported that Trump berated Sessions in an Oval Office meeting when he learned about the recusal — which took place in May. However, Sessions was apparently so demeaned that he offered his resignation, though it was not accepted.

Sessions has since cracked down on jurisdictions that so-called sanctuary policies, and has also announced the administration's rescission of the Deferred Action for Childhood Arrivals program.