FONDA — Republican Assemblyman George Amedore declared victory in his state Senate campaign Monday after every legally valid ballot in the five-county district he hopes to represent was opened.

But Democrats refused to concede: they promised to appeal a Montgomery County judge's decision to invalidate roughly 450 absentee and affidavit ballots, most of which stemmed from Republican objections, and repeated their belief that Duanesburg Democrat Cecilia Tkaczyk would be victorious if all the ballots were counted.

Amedore's declaration came six weeks after voters went to the polls; he trailed Tkaczyk by several dozen votes on Election Day. But after weeks of counting — and laying aside 887 ballots for judicial examination — the Rotterdam homebuilder pulled ahead in the 46th District race, finishing with a 39-vote lead over Tkaczyk.

"It has been a lengthy campaign, but I am ready to end this political process and I stand committed to working in a bipartisan effort to meet the difficult challenges that face all New Yorkers," Amedore said in a statement. "Let's transition from politics to governing as the people deserve nothing less. We have much to do and I look forward to serving on behalf of all New Yorkers. In just a few weeks, we will begin the process of addressing the concerns and needs of all New Yorkers to make this great state better and safer for our children and our families."

On Monday, election officials from Greene County opened the last 133 ballots — yielding an eight vote pickup for Tkaczyk. Acting Montgomery County Supreme Court Justice Guy Tomlinson is expected to issue a written ruling as soon as Tuesday that should certify Amedore as the winner in the race and detail why he sustained various objections. The invalidated votes include 53 ballots by Ulster County election workers that were cast before a statutory deadline as well as the ballots of Rep. Paul Tonko's nonagenerian parents, who improperly signed each other's envelopes.

Democrats on Monday planned to appeal Tomlinson's ruling, whenever it is issued.

"There are still hundreds of outstanding objections that have to be ruled on by the Appellate Court," said Tkaczyk campaign spokesman Gary Ginsburg. "When all the votes are counted, Cecilia Tkacyzk will be certified the winner of this election and will represent the residents of the 46th Senate District."

Amedore would be the 31st Republican elected to the state Senate, and coupled with Brooklyn Democrat Simcha Felder — who has said he will conference with the GOP — gives his party an outright majority in the chamber.

Republicans have also announced an alliance with the five-member Independent Democratic Conference, but written rules for sharing power are still being developed. Amedore's win would strengthen the Republicans' hand in those negotiations.