WASHINGTON -- A controversial pornographic mailer targeting a Republican New York state senator for his support of same-sex marriage was declared the winner of a "contest" sponsored by a mysterious political group in the Buffalo, N.Y., area.

The mailer, featuring two sexually suggestive photographs of two men, has circulated online after first being reported by Politico on Monday evening. The mailer attacks state Sen. Mark Grisanti (R-Buffalo) for his vote to approve same-sex marriage. The mailer says that it was paid for by the "Committee to Save the Erie County Republican Party," a group that Politico and others have linked to Matt Ricchiazzi, a former Grisanti supporter who unsuccessfully sought the Buffalo mayoralty in 2009.

Grisanti is facing a primary contest Thursday against attorney Kevin Stocker.

Ricchiazzi confirmed to The Huffington Post that the mailer, which has not been sent to voters in the Erie County district, was generated by the committee as part of a design contest it sponsored. He said that the mailer is not meant to criticize same-sex marriage, which Ricchiazzi said he supports, but to send a statement about Grisanti's actions in office. Grisanti had originally opposed same-sex marriage in his 2010 campaign.

"When I first saw this mailer design, I thought it was brilliant. It is a harsh critique of the transactional nature of our politics, which is a message that resonates very strongly in the Republican primary. It equates the work of politicians with the work of prostitutes, and makes the argument that Grisanti has been selling himself to the highest bidder," Ricchiazzi said in an email. "This mailer has little to do with gay marriage -- something that I wholeheartedly support -- and has everything to do with Mr. Grisanti's behavior in office, which some say has been akin to a prostitute. Indeed, any prostitute can do the work of a New York State Senator -- and most can do it better."

Mark Grisanti Ad

(The full mail piece can be seen on BuzzFeed here.)

Ricchiazzi did not respond to a follow-up email soliciting further information, including whether anyone else is involved in the committee, the nature of its funding or the identities of the contest participants.

The New York State Board of Elections and the Erie County Board of Elections did not have any record of a "Committee to Save the Erie County Republican Party" or campaign finance reports for such a group.

Ricchiazzi has been distributing emails, obtained by HuffPost, with the other designs in the contest. Among the runners-up are those that feature photos of Lady Gaga, who lobbied Grisanti on the same-sex marriage vote, and assert that Grisanti follows the singer's orders. Another shows Grisanti's chief of staff Doug Curella holding a pitcher of beer while claiming that Curella is Grisanti's daughter's boyfriend and that the staff position is his first job. Another claims that Grisanti is a member of a "political mob," and the last pairs a photo from earlier this year of Grisanti during a physical altercation at the Seneca Niagara Casino in Niagara Falls with claims that Grisanti's voting record does not square with Republican positions.

Curella and Grisanti did not return calls for comment. Curella's LinkedIn page indicates that he held several jobs prior to joining Grisanti's staff, including as deputy communications director for U.S. Sen. Ron Johnson's (R-Wis.) 2010 campaign.

Sources within the Erie County Republican Party confirmed to HuffPost that Ricchiazzi had been involved in Grisanti's 2010 campaign prior to a falling out with the senator. Artvoice reported in February that Ricchiazzi is alleged to have tried to obtain a $20,000-a-month job from Grisanti, on claims that he had seen tapes of the casino fight involving Grisanti, his wife and others, and that he was planning a primary race against Grisanti that would include "a relentless smear campaign."

In 2011, Ricchiazzi defended Grisanti's vote on same-sex marriage, writing a letter to the editor of Artvoice attacking Erie County Republican Chairman Nicholas Langworthy for criticizing Grisanti's vote. Langworthy is now backing Grisanti and declined to comment on the mailer.

Stocker, Grisanti's primary opponent, distanced himself from the mailer, telling HuffPost that he has never heard of the committee and that Ricchiazzi is not involved in his campaign. Noting that he has gay friends, Stocker said that his campaign is not based in opposition to same-sex marriage but Grisanti's changing views. He also said he is opposed to the ad.

"I've heard about it. I haven't seen it, nor would I authorize it," Stocker said. "I find it completely disturbing and out of bounds. The whole election is completely disgusting."

Also on HuffPost:

Loading Slideshow...
  • President Barack Obama holds a beer during a visit to Gator's Dockside restaurant in Orlando, Florida, on September 8, 2012 during the first day of a 2-day bus tour across Florida. AFP PHOTOS/SAUL LOEB

  • Obama picks up a beer during a visit to Gator's Dockside restaurant in Orlando, Florida, September 8, 2012 during the first day of a 2-day bus tour across Florida. AFP PHOTO / Saul LOEB

  • Obama drinks a beer at Gator's Dockside restaurant in Orlando. AFP PHOTO / Saul LOEB

  • Obama gets a beer and a pork chop as he visits the Iowa State Fair in Des Moines on August 13, 2012 during an unannounced stop on his three-day campaign bus tour. AFP PHOTO/Jim WATSON

  • Obama has a beer with Mike Cunningham III and other workers at the beer stand at the Iowa State Fair, Monday, Aug. 13, 2012. (AP Photo/Carolyn Kaster)

  • Obama drinks a beer as he sits with his wife Michelle, daughter Malia, and Vice President Joe Biden, as the U.S. Senior Men's National Team and Brazil play during a pre-Olympic exhibition basketball game at the Verizon Center on July 16, 2012 in Washington, D.C. (Photo by Patrick Smith/Getty Images)

  • Obama shares a beer with Suzanne Woods (R) and Jennifer Klanac (L) during at Ziggy's Pub and Restaurant Amherst, Ohio, July 5, 2012, during an unannounced visit while on a bus tour of Ohio and Pennslyvania. AFP PHOTO/Jim Watson

  • Obama raises his glass while drinking Guinness at The Dubliner pub on March 17, 2012 in Washington. Obama went to the bar to celebrate St. Patrick's Day. AFP PHOTO/Brendan SMIALOWSKI

  • Obama drinks a Guinness beer at The Dubliner pub on March 17, 2012 in Washington. AFP PHOTO/Brendan SMIALOWSKI

  • Obama holds up a bottle of beer as he delivers a case of White House brewed beer to the fire fighters at Fire Station No. 14, during an unscheduled stop, Tuesday, Sept. 4, 2012, in Norfolk, Va. (AP Photo/Pablo Martinez Monsivais)

  • In this July 16, 2012 file photo, Obama sips his beer as he watches Team USA and Brazil during the first half of an Olympic men's exhibition basketball game, in Washington. (AP Photo/Alex Brandon, File)

  • In this July 5, 2012 file photo, Obama has a beer as he talks with patrons as he stops for a beer at Ziggy's Pub and Restaurant in Amherst, Ohio. (AP Photo/Susan Walsh, File)

  • Barack Obama

    Obama stops for a beer at The Pump House, a pub and grill, Tuesday, Aug. 14, 2012, in Cedar Falls, Iowa, during a three day campaign bus tour through Iowa. (AP Photo/Carolyn Kaster)

  • Obama clinks beer glasses with unemployed construction workers as they sit down for a discussion at the Harp and Celt Restaurant and Irish Pub in Orlando, Florida, October 11, 2011. AFP PHOTO / Saul LOEB

  • The Obamas sip Guinness at a pub as they visit Moneygall village in rural County Offaly, Ireland, where the President's great-great-great grandfather Falmouth Kearney hailed from, on May 23, 2011. Obama landed in Ireland on May 23, 2011 for a visit celebrating his ancestral roots, kicking off a four-nation European tour. AFP PHOTO/ JEWEL SAMAD

  • In this July 30, 2009 file photo, Obama and Vice President Joe Biden have a beer with Harvard scholar Henry Louis Gates Jr., second from left, and Cambridge, Mass., police Sgt. James Crowley in the Rose Garden of the White House in Washington. (AP Photo/Alex Brandon, File)