Persistent, heavy rain has caused flash flooding across parts of Alabama on Thursday night.

Slow-moving storms have dumped up to 5 inches of rain in a short time in some areas, leading to flooded roads and swollen creeks and rivers.

Some of the worst-hit areas are in and around Huntsville.

The National Weather Service in Huntsville said flooding has been reported in several areas east of downtown.

Several homes have reportedly flooded in the Dug Hill Road area and along U.S. Highway 431, according to the weather service.

Driving is strongly discouraged:

9:54p Thu: Please avoid driving in Huntsville unless you absolutely must--flash flood reports now coming from UAH/Univ. Drive area! #HUNwx — NWS Huntsville (@NWSHuntsville) August 11, 2017

Flash flood warnings are also in effect for the Montgomery area as well as parts of east Alabama.

The National Weather Service offices in Huntsville and Birmingham have gotten many reports of flooding in several different areas.

Here's a look at the warnings that are in effect:

* Flash flood warning for parts of Randolph, Chambers and Clay counties until 11 p.m.

BMX continues Flash Flood Warning for Chambers, Clay, Randolph [AL] till Aug 10, 11:00 PM CDT https://t.co/sQwaeY1gG6 — IEMBot BMX (@iembot_bmx) August 11, 2017

*Flash flood warning for Autauga, Lowndes and Montgomery counties until 11:15 p.m.

That warning includes the Montgomery and Prattville areas, among others.

BMX extends time of Flash Flood Warning for Autauga, Lowndes, Montgomery [AL] till Aug 10, 11:15 PM CDT https://t.co/MOj6Snz2kk — IEMBot BMX (@iembot_bmx) August 11, 2017

The weather service got a report that Donnelly Field in the Montgomery area got more than 5 inches of rain in a little more than an hour earlier this evening.

*Flash flood warning for Madison County until 12:15 a.m. Friday.

HUN continues Flash Flood Warning for Madison [AL] till Aug 11, 12:15 AM CDT https://t.co/E4PCWEN9rH — IEMBot HUN (@iembot_hun) August 11, 2017

Forecasters said the rain is ending in the Huntsville area as of 10:40 p.m., but the flooding is expected to continue.

*Flash flood warning for parts of Jefferson and Blount counties until 12:15 a.m. Friday.

BMX issues Flash Flood Warning for Blount, Jefferson [AL] till Aug 11, 12:15 AM CDT https://t.co/q2vWUNZRRt — IEMBot BMX (@iembot_bmx) August 11, 2017

The weather service said 1-2 inches of rain has already fallen in the warning area, and an additional 1-2 inches will be possible, raising the risk of flash flooding.

Much of the rain is over central and eastern parts of the state late Thursday.

More rain will be possible statewide on Friday, according to the weather service.