startled proponents of the bill and signaled that political momentum, at least right now, had shifted against same-sex marriage, even in heavily Democratic New York. It followed more than a year of lobbying by gay rights organizations, who steered close to $1 million into New York legislative races to boost support for the measure.