RALEIGH, N.C. (AP) — North Carolina legislators completed an initial $273 million relief package on Wednesday to help spur recovery from Hurricane Helene, describing it as a down payment on aid and a way to help hard-hit counties gain more flexibility in holding elections already underway.

The legislation, which was approved unanimously in the House and Senate, comes less than two weeks after the catastrophic flooding from the storm’s historic rainfall in the North Carolina mountains.

Over half of the 237 confirmed Helene-related deaths in Southeastern states in Helene’s path occurred in North Carolina, a presidential battleground state where absentee voting has already begun.

Tens of thousands of people in the region remain without power and some, including residents of Asheville, still lack running water. The voice of legislators from the devasted region cracked with emotion when talking about the heavy blow dealt by Helene.

“I want to thank you for putting your first seeds into the ground,” said Sen. Ralph Hise, a Republican from Mitchell County, where he said the local water system is “unsalvageable” and otherwise would take years to replace. “We’ve never seen devastation like this before.”

Republican legislative leaders who helped craft the measure with input from Democratic Gov. Roy Cooper’s administration and election officials emphasized repeatedly that more legislation and funds would come soon. Lawmakers have also agreed to return Oct. 24 for more action, rather than wait until mid-November as once scheduled. They acknowledged the effort would take months and years to complete.

“The recovery that is going to have to be done is going to be something that is a Herculean task, but it is something that we will get done,” House Speaker Tim Moore said.

Nearly all the money in the bill — $250 million — is earmarked for state agencies to meet the federal government’s match for state and local disaster assistance programs. State government currently has $4.75 billion set aside in a “rainy-day” fund and $733 million in a disaster response reserve. Other pots of money could be tapped if needed.

The governor was expected to sign the legislation. Cooper welcomed “the General Assembly’s return to allocate critical recovery funding for communities hit by Hurricane Helene as a first of many steps in rebuilding Western North Carolina,” his spokesperson Jordan Monaghan said in releasing a statement this week.

The bill also includes specifics to ensure teachers and cafeteria workers in public schools closed in Helene’s aftermath get paid. Fees for people to replace lost driver’s licenses and identification cards are getting waived, as are some highway repair and open storm debris burn permitting requirements.

The bill also largely follows rule alterations for conducting elections and turning in ballots that were approved unanimously earlier this week by the State Board of Elections. But lawmakers decided to expand the alterations from 13 of the state’s 100 counties approved by the board to 25 counties — in keeping with the scope of the federal disaster declaration, Berger said.

The storm’s flooding has severely damaged some voting sites, making replacements necessary. Early in-person voting is held Oct. 17 through Nov. 2.

The legislation allow voters registered in the 25 counties, for example, to request an absentee ballot in person up until the day before Election Day. These voters also would have more ways to drop off those absentee ballots, including any open early voting or county election offices in any of the 100 counties, as well as at the State Board of Elections office in Raleigh. That goes beyond the additional options approved by the state board. Such ballots still must be turned in by 7:30 p.m. on Election Day to be counted.

Republican presidential candidate Donald Trump’s campaign sent out a release late Tuesday suggesting 10 changes so displaced voters “don’t lose their right to participate in this important election.” Essentially all of the ideas are contained in the legislation.

Overall, the region affected by the election changes has historically favored Republican candidates, although Asheville and surrounding Buncombe County is considered a Democratic stronghold.

Sen. Paul Newton, a Cabarrus County Republican and Senate elections committee co-chairman, emphasized the changes in the bill were nearly all based on the board’s bipartisan order earlier in the week, and that many entities provided input to staff.

“We just saw the level of devastation and knew we had to make changes for anybody to have a chance of voting in these elections,” Newton said. “That would be true no matter whether it’s red or blue.”