Democrats appeared Tuesday to have gained majority control of the state Senate, with the party picking up as many as eight seats in the chamber, conference officials said on Tuesday evening.

Democrats have won victories on Long Island, unseating longtime incumbent Republicans, as well as Brooklyn and the Hudson Valley.

The gains made in the state Senate came as Democrats were poised to notch victories in several congressional districts in the state as the party nationally gain control of the House of Representatives.

Republican Senate Majority Leader John Flanagan issued a statement appearing to concede control of the chamber on Tuesday night.

“While tonight’s results are disappointing, the Senate Republican Conference will continue to be a strong and important voice in Albany – – standing up for hardworking taxpayers, advancing policies that help businesses create new jobs and new opportunities, and working every day to keep our families secure and safe,” he said.

“When we need to push back, we will push back. And where we can find common ground, we will always seek it.”

For Democrats, the victories on Tuesday were the culmination of a clawing back to the majority after a two-year stint a decade ago that ended with acrimony and marred by a coup. At the same time, the leadership of the Senate Democratic conference has completely turned over to a new generation of lawmakers.

Democrat Andrea Stewart-Cousins is poised to become the first woman to lead a legislative majority in Albany.

“The voters of New York State have spoken and they have elected a clear Democratic majority to the State Senate,” she said. “While the results of some elections are still being determined, at least 32 Senate Democratic Conference members have already won election tonight. I am confident our majority will grow even larger after all results are counted, and we will finally give New Yorkers the progressive leadership they have been demanding.”