Nancy Goroff, a Democrat who challenged Representative Lee Zeldin in New York's First Congressional District race this year, and Laura Ahearn, who ran for the State Senate seat being vacated by a retiring Kenneth P. LaValle, formally conceded their races this week after the absentee ballot counts were complete.
Ms. Ahearn, also a Democrat, lost to Anthony Palumbo, a sitting state assemblyman from New Suffolk.
Ms. Goroff, a scientist and professor with Stony Brook University, thanked her supporters in a message on Friday. "The absentee votes have all been tallied, but we still came up short. Despite our loss, I am so proud of the work we've done together, and I am confident that our work will have a long-lasting impact on Suffolk," she said.
She earned 169,294 votes to Mr. Zeldinís 205,715 votes, for 45.14 percent of the total ballots cast. She made some gains during the absentee count — on Election Day she had won just 38.7 percent of the vote — but it wasnít enough to make up the difference.
In the State Senate race, the margin was much closer. Ms. Ahearn, a social worker and attorney from Port Jefferson, fell short by fewer than 5,000 votes. Mr. Palumbo earned 87,563 votes, or 51.37 percent, to Ms. Ahearn's 82,900 votes, or 48.63 percent.
Mr. LaValle is retiring after more than 40 years in government; his district has not been represented by a Democrat in more than 100 years.
"Though disappointed by the result, I am heartened to know that our work over these past months will ensure that the issues facing our community will continue to be front and center as we all strive to make Suffolk County the best place it can be," Ms. Ahearn said in a statement.
She congratulated Mr. Palumbo on his victory and pledged to "work with him for the betterment of our communities during these difficult times."
The local Assembly race also wrapped up this week, with incumbent Assemblyman Fred W. Thiele Jr. retaining his seat. He earned 40,689 votes, or 58.28 percent, to Heather Collins's 29,133 votes.