ALBANY — Gay rights advocates from Wall Street to Hollywood poured donations into the coffers of four little-known Republican state senators after the lawmakers provided the decisive votes for same-sex marriage in New York last June, according to new campaign finance filings released on Tuesday.

The support for the four senators, whose votes broke ranks with their party, is seen by gay rights leaders as symbolically important for their movement nationally, because in many states same-sex marriage could become law only with support from Republicans, as well as conservative Democrats. Maryland, New Jersey and Washington State are expected to consider same-sex marriage legislation this year.

The four New York Republicans had been threatened with political retribution by the state’s Conservative Party, and now face possible challenges from both the left and the right, but same-sex marriage supporters had promised to help them politically if they supported the issue.