RALEIGH, N.C. (WNCN) — As Tropical Storm Ophelia moves across parts of North Carolina, the National Weather Service in Raleigh put parts of central North Carolina under a flash flood warning.

Wake, Johnston, and Franklin counties were all under a flash flood warning until 5 p.m. Saturday. Some locations affected include Raleigh, Cary, Smithfield, Louisburg, Wake Forest, Garner, Fuquay-Varina, Clayton, Zebulon, Angier, Benson, Bunn, Apex, Holly Springs, Knightdale, Micro, Selma, Wendell, Rolesville and Four Oaks.

Earlier Saturday, NWS Raleigh had placed other areas under a flash flood warning until 3 p.m.

Areas under flood watch Saturday

Some of the same areas had been placed under a flood watch earlier Saturday by NWS Raleigh.

The flood watch is effective through Saturday evening, but was canceled at 6:45 p.m., according to the National Weather Service. Counties that were under the flood watch included Wake, Durham, Person, Granville, Harnett and Cumberland.

Cities affected include Raleigh, Durham, Cary, Apex, Wake Forest, Knightdale, Fayetteville, Hope Mills, Creedmoor, Oxford, Lillington, Rougemont, Buies Creek, Roxboro, Erwin, Spring Lake, Angier and Dunn.

Heavy rain is expected in this areas as Tropical Storm Ophelia moves north-northwest from the landfall location near Emerald Isle. According to forecasters, up to two to five inches of rain are expected in the areas under flood watch, with higher amounts possible locally.

On Friday, NWS Raleigh put other parts of central North Carolina — all to the east of Wake County — on a flood watch through Saturday evening. That watch is still currently in effect.

Many of those areas were also put under a tropical storm warning Friday. That warning is also still in effect as of Saturday morning.