S.C. Sen. Lindsey Graham didn't wait long before he congratulated fellow Republican Sen. Ted Cruz on Twitter for his primary victory in Wisconsin late Tuesday. Not five minutes later, the staunch hawk turned the celebration for Cruz into an attack on GOP front-runner Donald Trump.

"Well done, @TedCruz. Hopefully tonight is the turning point to deny @realDonaldTrump 1,237 delegates," Graham tweeted shortly after 9:30 EST.

That message was followed by a brief analysis on Trump's loss, according to the Senate Subcommittee on State, Foreign Operations, and Related Programs' chairman.

"Bottom line — @realDonaldTrump's domestic and foreign policy gibberish is beginning to catch up with him," Graham wrote.

Graham, who dropped out of the Republican presidential race in December, endorsed Cruz in March despite admittedly often not seeing eye-to-eye with his Senate colleague.

Graham has since criticized Cruz's strategy to defeat the Islamic State, which does not include sending ground troops to the Middle East. Graham insists that what is needed to defeat the terrorist group is an army comprised 90 percent of regional forces and 10 percent American troops.