West Virginia’s three most devastated counties and possibly others will receive federal assistance after the state’s worst flooding in more than a century killed at least 24 people, officials said Saturday.

President Barack Obama declared a major disaster for West Virginia and ordered federal aid to affected individuals in Kanawha, Greenbrier and Nicholas counties that could include grants for temporary housing, repairs and other programs.

Obama spoke with West Virginia Gov. Earl Ray Tomblin Saturday afternoon to give his condolences and make sure the governor has the federal resources he needs, White House spokesman Eric Schultz said.

West Virginia’s death toll from flooding is the highest for any U.S. state this year, with 16 deaths reported in Greenbrier County in southeast West Virginia, where the heaviest rain fell, and six in Kanahwa County, officials said. At least 16 people, including nine U.S. soldiers, were killed in flooding in Texas earlier in June.

The Federal Emergency Management Agency and state officials were assessing damage in at least six other counties and the state may ask for additional assistance, Tomblin said. Ohio and Jackson counties also reported one death each.

Up to 10 inches of rain fell Thursday in the mountainous state, sending torrents of water from rivers and streams through homes and causing widespread devastation.

Tomblin has declared a state of emergency in 44 of 55 counties and expected 400 members of the West Virginia National Guard to help rescue efforts Saturday. About 32,000 homes and businesses remained without power Saturday.

Hundreds of people have been rescued and search and rescue teams looked for more people Saturday, Tim Rock, spokesman for the state Division of Homeland Security and Emergency Management, said.

Some towns were completely surrounded by water and hundreds of houses and buildings have been lost, Rock said.

The Greenbrier resort was closed indefinitely and PGA Tour officials said Saturday the Greenbrier Classic golf tournament due to begin July 7 had been canceled because of extensive flood damage.

West Virginia received one-quarter of its annual rainfall in a single day and multiple rivers surged to dangerous levels, including the Elk River, which broke a record at one stage that had stood since 1888.