Heavy rains have caused flooding that forced police to close the main highway in Maryland's biggest beach town.

The Ocean City Police Department closed the town's Coastal Highway north of 94th Street due to flooding.

The National Weather Service said four to six inches fell in the region Saturday afternoon.

The Delaware Department of Transportation also closed State Route 54 where it approaches the beach at Coastal Highway on the Delaware-Maryland state line.

Heavy rain continues to fall in North #OceanCity. The EOC is partially activated. Lacrosse & soccer games postponed for the day. Road flooding is severe causing some lane closures on Coastal Hwy. #MdTraffic pic.twitter.com/xidS9BusgZ — Andrew Doyle (@doyle0213) June 9, 2018

The flooding and closures prompted significant traffic jams on a weekend popular for high school seniors celebrating graduation.

