A New York Senate candidate behind a controversial mailing which lamblasted his opponent for having gay friends and hiring gay staffers is apologizing for his actions.

Officials for Juan Reyes, an Republican opponent to New York City Councilman Eric Ulrich in the Senate primary race, say the mailer -- which reportedly called Ulrich a "gay-friendly, cosmopolitan Republican who mocked religious Americans" -- was "rushed," and implied Reyes didn't have time to "scrutinize" it properly.

Officials for Reyes noted on his official website:

"Clearly, what our campaign intended to say in one of our final mailings was not what people heard, and for that the Reyes campaign is deeply sorry. The campaign’s only goal for that mailing to expose the hypocrisy of flip-flopping, but in the final days of the campaign we rushed a piece to press and should have given our candidate time to scrutinize it."

Noting that Reyes -- who served as an aide to former New York City Mayor Rudy Giuliani -- "personally apologizes" for mailing, officials added:

"As an attorney and concerned citizen, Juan believes strongly that everyone should have the opportunity to life, liberty and the pursuit of happiness, and that everyone should have the opportunity to exercise their own free will in determining what that happiness is, and how they live their lives in achieving it...

Whatever disagreements we may have over specific legislation, Juan believes strongly that what unites Americans as a people is our willingness and desire to live in a country where different people of many backgrounds can exist together in peace and harmony. It’s what makes us Americans."

You can read the full statement here.

Reyes' apology comes on the heels of a similar controversy involving another anti-gay-themed attack on Mark Grisanti, which accused the New York state senator of exchanging his vote in favor of gay marriage for monetary gain. Perpetuated by Matt Ricchiazi, that ad included photos of two reported gay porn stars in a steamy, barechested embrace.

Grisanti, a Republican, had previously opposed marriage equality, switched his vote at the last-minute to join three fellow Republicans in securing legalization's passage last year. "I cannot deny a person, a human being, a taxpayer, a worker, the people of my district and across this state, the State of New York, and those people who make this the great state that it is the same rights that I have with my wife," the Buffalo-area politician said at the time.

CORRECTION: The original version of this story linked Reyes' apology to Grisanti's case rather than NYC Councilman Eric Ulrich. They are, in fact, two separate cases.

Also on HuffPost:

Loading Slideshow...
  • Pastor Worley: Gays And Lesbians Should Be Put In An Electrified Pen And Ultimately Killed Off

    The pastor, identified on YouTube as Charles L. Worley of Providence Road Baptist Church in Maiden, N.C., condemns President Obama's much-publicized endorsement of same-sex marriage while calling for gays and lesbians to be put in an electrified pen and ultimately killed off. "Build a great, big, large fence -- 150 or 100 mile long -- put all the lesbians in there," Worley suggests in the clip, reportedly filmed on May 13. "Do the same thing for the queers and the homosexuals and have that fence electrified so they can't get out...and you know what, in a few years, they'll die out...do you know why? They can't reproduce!"

  • Pastor Suggests Gays Should Be Prosecuted Like They Were Historically

    Ron Baity, founding pastor of Winston-Salem's Berean Baptist Church and head of the anti-marriage equality organization Return America, referred to homosexuality as "a perverted lifestyle" in a Sunday sermon before telling his congregation that lesbian, gay, bisexual and transgender (LGBT) people should be prosecuted, Good as You is reporting. "For 300 years, we had laws that would prosecute that lifestyle," he is quoted as saying. "We've gone down the wrong path. We've become so dumb that we have accepted a lie for the truth, and we've...discarded the truth on the shoals of shipwreck!"

  • Pastor Sean Harris: Parents Should 'Punch' Their Effeminate Children

    "So your little son starts to act a little girlish when he is four years old and instead of squashing that like a cockroach and saying, 'Man up, son, get that dress off you and get outside and dig a ditch, because that is what boys do,' you get out the camera and you start taking pictures of Johnny acting like a female and then you upload it to YouTube and everybody laughs about it and the next thing you know, this dude, this kid is acting out childhood fantasies that should have been squashed."

  • Pastor Slams Gay Marriage, Suggests Unions Between 'Person And A Beast' Could Be Next

    Tim Rabon, pastor at Raleigh's Beacon Baptist Church, condemned states such as Massachusetts, Connecticut and Maryland which have already "re-defined" marriage to include lesbian, gay, bisexual and transgender (LGBT) couples. As heard in this recording, Rabon asked his congregation, "What is stopping them from refining marriage from a person and a beast? We're not far from that."

  • Robertson Compares Polygamy, Bestiality And Pedophilia To Gay Marriage

  • Tony Perkins: 'If You Want A Military That Just Does Parades,' Allow Gays To Openly Serve

  • James Robison: 'The Enemy' Is Using 'Glee' To Destroy America

  • Newt Gingrich: Gay Marriage A 'Perfect Example Of What I Mean By The Rise Of Paganism'

  • Daniel Lapin: Gays Should've Been Quarantined To fight AIDS

  • Pat Robertson Advises Father To Seek Ex-Gay Conversion For Gay Son

  • Liberty Counsel Warns That Macy's LGBT Policy Could Lead To Rape, Sexual Assault