Pete Hegseth had an awkward moment on Monday when he attempted an impression of Lindsey Graham during a eulogy.

The Defense Secretary delivered remarks at a ceremony with the U.S. Air Force to rename Joint Base Charleston in honor of the late South Carolina senator. Graham served for 33 years in the U.S. Air Force, including several years of active duty service as an Air Force lawyer.

While honoring Graham, Hegseth attempted to replicate the senator's recognizable accent, but gave up immediately. "I'll never forget, he sat there and said, 'Gentlemen,' I can't do it — the Lindsey Graham accent," he said, laughing.

• Eric Swalwell reportedly 'had a fling with Stephen Miller's wife when she was a 22-year-old intern'

• Trump shows true colors by reaching for one specific item as soon as he leaves rally

Hegseth said his Graham impression always turns into "a Trump accent." The moment went viral on X, with journalist Aaron Rupar calling it "the worst Lindsey Graham impression of all time."

One person said Hegseth's attempt wasn't as bad "as his impression of 'Secretary of War.'" Another said that Hegseth has the make-up of an actor "but not the talent."

Joint Base Charleston, which supports more than 60 Pentagon and federal agencies, is located in North Charleston, South Carolina. The ceremony was attended by Hegseth, Treasury Scott Bessent, Graham's sister, Sen. Darline Graham, and South Carolina Gov. Henry McMaster.

Speakers praised Graham's military service and his dedication to the state of South Carolina. "Protect your people, protect your state, protect your sovereignty, or you will lose it to someone else who is willing to take it from you," Hegseth said of Graham.

(FILES) US Senator Lindsey Graham, Republican of South Carolina questions US Secretary of Defense Pete Hegseth and Chairman of the Joint Chiefs of Staff General Dan Caine during a Senate Committee on Appropriations, Subcommittee on Defense hearing to examine the 2027 budget for the Department of Defense on Capitol Hill in Washington, DC, on May 12, 2026. Republican Senator Lindsey Graham of South Carolina, a key ally of US President Donald Trump, died on July 11, 2026, at the age of 71 following "a brief and sudden illness," his office announced on its official X account on July 12. (Photo by Jim WATSON / AFP via Getty Images)

Meanwhile, Bessent, a South Carolina native, praised Graham's dedication to the military. "He was a distinctly American assent from Central, S.C., to the pinnacle of the United States Senate," Bessent said during his remarks.

Graham died from an aortic dissection on July 11 in Washington, D.C. His service in the Air Force began in the 1980s after attending law school, with six years of active duty, including four years as the lead prosecutor at Rhein-Main Air Base in Germany.

COLUMBIA, SOUTH CAROLINA - JULY 29: The late Sen. Lindsey Graham (R-SC) is carried from a memorial service at First Baptist Church of Columbia following a processional from the South Carolina State House grounds on July 29, 2026 in Columbia, South Carolina. Family, including sister Sen. Darline Graham (R-SC), follow behind at the conculsion of the ceremony. Graham, who was elected to the Senate in 2002, died suddenly on July 11th from an aortic dissection. He was 71 years old. (Photo by Grant Baldwin/Getty Images) *** BESTPIX ***

He was transferred to the South Carolina Air National Guard in 1989 and was a prosecutor at McEntire Air National Guard Base during the first Gulf War.

Graham, who was deployed to the Middle East, was a major advocate for the Charleston base.

Graham never married, but helped raise his younger sister after the deaths of both his parents while he was at collage. He became Darline's guardian when Darline was 13.

Now, Darline Graham is running for a possibly crowded primary race for the fall election. The filing period for the special primary closes on Tuesday, with voting set for Aug. 11.

For all the latest news straight to your inbox, sign up for our FREE newsletters here.