The ad was paid for by American Unity PAC, a super PAC funded by Republican donors who support same-sex marriage and gay rights.

The Giuliani spot, which is airing on cable and broadcast, is the third in a series of ads in the Hanna race, and the PAC is spending $700,000 in the primary campaign for TV, mail and targeted phone calls.

The ad comes four days before the primary with Tenney, who is running to Hanna’s right in the central New York congressional district.

Still, Hanna has received endorsements from groups traditionally aligned by conservatives, such as the National Rifle Association.

And Giuliani touts Hanna’s conservative economic credentials in the ad.

“He’s voted over and over to balance the budget, cut wasteful spending and defund Obamacare,” he says.