Sen. John McCainJohn Sidney McCainRubio asks Army to kick out West Point grad with pro-communist posts The VA's woes cannot be pinned on any singular administration Overnight Defense: Mattis offers support for Iran deal | McCain blocks nominees over Afghanistan strategy | Trump, Tillerson spilt raises new questions about N. Korea policy MORE (R-Ariz.) slammed Rep. David SchweikertDavid SchweikertDeficit hawks voice worry over direction of tax plan FreedomWorks: Tax reform failure could be 'end of GOP as we know it' Freedom Caucus backs three debt ceiling options MORE (R-Ariz.) on Wednesday for releasing a mailer that referred to his primary opponent as “going both ways.”

McCain also endorsed Schweikert’s primary opponent, Rep. Ben Quayle (R-Ariz.), and said the mailer sent by Schweikert was one of the “worst that I have seen.”

“This is not appropriate. This crosses a boundary of decent political dialogue and discourse. This is not something that is acceptable at all,” McCain said at an Arizona press conference.

The Schweikert campaign said the mailer referred to Quayle’s flip-flops on issues. But Quayle’s campaign says it contained sexual undertones.

Outgoing Sen. Jon Kyl (R-Ariz.), who also attended the press conference, said Schweikert’s campaign tactics “didn’t belong in Arizona.”

Kyl and former Secretary of State Condoleezza Rice have also endorsed Quayle, a freshman Republican and the son of former Vice President Dan Quayle.

But he looks like an underdog to Schweikert. An internal Schweikert poll released in July showed him leading the race by double digits.

House leaders have stayed neutral in the fight after the conservative Club For Growth warned leadership it would spend money for Schweikert if any endorsements came.

“Should it become apparent that you are choosing sides on behalf of Rep. Quayle, the Club for Growth PAC will consider it necessary to intervene on behalf of Rep. Schweikert,” Club for Growth President Chris Chocola said in March.

“As is our practice, if the Club’s PAC entered this primary, it is highly likely that our 75,000 members would donate considerably more funds to Rep. Schweikert’s campaign than the Republican House leadership would contribute to Rep. Quayle’s campaign.”

Quayle leads in fundraising, with $1.1 million in cash on hand compared to Schweikert’s $879,000 in this cycle.

Voting by absentee ballot has already begun in the primary, which will be held Aug. 28.