A Republican House candidate is using video footage from an Islamic State execution in a political advertisement slamming her Democratic opponent.

The spot opens with the moments leading up to the beheading of journalist James Foley in August. A member of the Islamic State is gripping the knife. Foley is kneeling. Then comes a deep, voice: “Terrorist threats are growing. Are we secure? Are we protected?” It’s part of an attack advertisement against Arizona Rep. Kyrsten Sinema (D), meant to suggest she’s weak on national security. It’s from retired Air Force Lt. Col. Wendy Rogers (R).

It does not show the beheading.

“Keeping us safe and secure is Congress’s job,” it continues. “Kyrsten Sinema hasn’t done her job. Sinema voted in Congress to give terrorists full legal rights under the Constitution. Sinema voted in Congress to allow Guantanamo terrorists to return to their countries. It’s true. It’s wrong. Kyrsten Sinema allowed her liberal agenda to get in the way of our safety.”

Shortly after the ad was posted on YouTube, it was set to private. As of Tuesday morning, it could only be viewed by invitation.

The footage was swiped directly from video released by militants on Aug. 19, and it appears to be the first time images of Foley have been used for domestic political propaganda. A still image of Foley’s executioner appeared this summer in a spot for Republican Allen Weh, who is running in New Mexico against Sen. Tom Udall (D), though Foley was cropped out.

Rogers’s advertisement produced a backlash from the Democratic Party.

“It is reprehensible and unbecoming of anyone seeking elected office to use the footage of an American tragedy for political gain, and Wendy Rogers should remove this ad immediately and apologize to Mr. Foley’s family,” Democratic Congressional Campaign Committee spokesman Tyrone Gale said. “For Wendy Rogers to use such a reprehensible tactic to make baseless claims just to smear Representative Sinema proves how desperate her campaign has become.”

Rogers’s campaign spokesman, James Harris, said the footage is fair and illustrates the differences between the two candidates.

“We think it’s an important ad to highlight the differences on what this election is about and how President Obama’s failed leadership internationally has made our country less safe,” Harris said.

After the footage was released by the Islamic State in August, a member of Foley’s family reportedly tweeted: “Please honor James Foley and respect my family’s privacy. Don’t watch the video. Don’t share it. That’s not how life should be.”

That said, Rogers has bought about $124,000 worth of air time to promote the commercial in the Phoenix market as well as on cable, according to the Associated Press.