Beryl’s winds have strengthened to tropical storm levels once again as it heads back toward the ocean early Wednesday, bringing some heavy rain to South Carolina.

The depression’s maximum sustained winds had increased to over 35 mph (55 kph).

Beryl was expected to dump up to 6 inches of rain, with isolated amounts of 8 inches, in northeastern South Carolina and eastern North Carolina.

By 5 a.m. Wednesday, the storm was centered about 25 miles (40 kilometers) north-northeast of Charleston, S.C., and was moving east-northeast near 14 mph (22 kph). On that track, forecasters said the depression was expected to skim along the South Carolina coast before moving back over the Atlantic.

Beryl sloshed ashore near Jacksonville, Fla., on Memorial Day as a tropical storm. It is the second named tropical system of the 2012 Atlantic Hurricane season that doesn’t officially begin until Friday.