After a sometimes emotional hourlong debate, the 62-member, Republican-controlled Senate approved the measure, 33 to 29. Earlier in the evening, the Democratic-led Assembly had amended its version of the bill to match the Senate's, which carried additional exemptions for religious organizations that do not want to acknowledge or extend benefits to gays who marry.
"What this state did today brings marriage equality to a new plane. … We reached a new level of social justice," Cuomo told reporters. Outside the Senate chamber, many opponents sat on the floor and prayed aloud for the state.
The decisive votes were made by two Republicans, veteran Sen. Stephen Saland, of Poughkeepsie, and Marc Grisanti, a freshman from Buffalo.
"I cannot legally come up with an argument against same sex marriage," Grisanti, a lawyer, said during the debate. "I cannot deny a person, a human being ... the same rights I have with my wife."
Said Saland: "I have defined doing the right thing as treating all persons with equality."
Democrat Sen. Thomas Duane, the first openly gay member of the Senate, spoke tearfully of his own experience and of his partner of many years. "Marriage strengthens families," he said. "It will strengthen mine and it will strengthen all New York families."
He ended his speech by offering respect to his opponents: "There are no villains in the chamber."
Some 150 miles from Albany, supporters erupted in cheers in the streets of Manhattan's Greenwich Village. Around the Stonewall Inn, where a riot erupted 42 years ago Tuesday that many consider the start of the gay rights movement, couples whooped with joy, cried, embraced and proposed.
The Empire State Building was lighted in rainbow colors, and in neighborhoods with large gay populations, from Park Slope in Brooklyn to Jackson Heights, Queens, there was elation.
In California, patrons at Trunks, a West Hollywood gay bar, watched live coverage of the New York debate and vote. West Hollywood resident Timothy McConnell, 45, said the New York law will "give gay marriage a big push across the nation."
Snacking at a yogurt shop's outdoor tables, West Hollywood resident Ray Montoya, 49, said he was among a generation of gay men who grew up facing discrimination and never imagined at first that gay marriage would be possible. "I'm getting the chills," he said, describing his feelings after the New York vote.
In the days leading up to the vote, the measure was the subject of intense, closed-door politicking for days between Cuomo and Republican leaders, who argued it would put religious groups under pressure to endorse gay lifestyles that violate their beliefs.
In the capitol's high-ceilinged, marbled hallways, meanwhile, a public debate on morality went on day and night, with supporters waving placards declaring gays' right to marry and conservatives and ministers praying for the bill to fail. Late Friday, as Senators gave floor speeches about rent regulations, a group of ministers chanted, "Amen, amen, amen, vote God's way," while advocates sang, "Vote Yes!"
Both sides spent months lobbying and campaigning. Influential gay rights' groups from New York and Washington banded together — setting up phone banks and spending $2 million on television advertising, hoping that a New York victory would jump-start a movement that has stalled in recent years.
"We are beginning to see the dark walls of discrimination crumble," said Chad Griffin, co-founder of the group that is challenging Prop 8. "We started feeling the tremors with the unconstitutional ruling of Prop. 8 in California, then followed by the dismantling of `Don't Ask, Don't Tell' and the unconstitutional finding of [the federal Defense of Marriage Act] and now the tremendous bipartisan victory for marriage equality in New York."
New York's Catholic bishops expressed disappointment with the outcome.
"We always treat our homosexual brothers and sisters with respect, dignity and love. But we just as strongly affirm that marriage is the joining of one man and one woman," the New York State Catholic Conference said in a statement posted on its website Friday night.