President Trump slammed Sen. Bob Corker in a series of tweets Sunday, saying the Tennessee Republican “didn’t have the guts to run” after ​Trump​ refused to endorse him.

“Senator Bob Corker ‘​begged’​ ​me to endorse him for re-election in Tennessee. I said​ ​’​NO​’​ and he dropped out (said he could not win without​ ​…​ my endorsement),” Trump posted on Twitter on Sunday.

“He also wanted to be Secretary of State, I said​ ​’NO THANKS.’​ ​He is also largely responsible for the horrendous Iran Deal!”

“Hence, I would fully expect Corker to be a negative voice and stand in the way of our great agenda. Didn’t have the guts to run!​,​” Trump added.

Corker, who announced last month that he would not seek a third term in 2018, quickly shot back at Trump on Twitter.

“It’s a shame the White House has become an adult day care center. Someone obviously missed their shift this morning,” Corker tweeted on Sunday.

After returning to the White House after spending part of the day at the Trump National Golf Club in Sterling, Va., the president resumed his attack on Corker.

“Bob Corker gave us the Iran Deal, & that’s about it. We need HealthCare, we need Tax Cuts/Reform, we need people that can get the job done!,” Trump wrote.

Corker’s chief of staff Todd Womack said in a statement that Trump has called the senator to ask him “to reconsider his decision not to seek re-election and reaffirmed that he would have endorsed him, as he has said many times.”

The two-term senator has been a tough critic of the president.

Last week when asked about reports that Secretary of State Rex Tillerson called Trump a “moron,” Corker said Tillerson is among those in the administration saving the country from “chaos.”

“I think Secretary Tillerson, [Defense Secretary Jim Mattis], and [White House chief of staff John Kelly] are those people that help separate our country from chaos, and I support them very much.​ … I think [Tillerson’s] in a very trying situation, trying to solve many of the world’s problems, a lot of times without the kind of support and help that I’d like to see him have,”​ ​Corker, chairman of the Senate Foreign Relations Committee, told reporters.

Corker also criticized Trump for his comments about a white nationalist rally in Charlottesville, Va., that turned violent in August. The president blamed “both sides” for the violence.

“The president has not yet been able to demonstrate the stability nor some of the competence that he needs to demonstrate in order to be successful,” Corker said.

With Marisa Schultz