A flood advisory had been issued until 4:30 p.m. in York County and surrounding counties.
At 1:30 p.m., Doppler radar indicated heavy rain moving into the area. As much as 2 inches of rain in an hour was expected, the National Weather Service said.
A strong storm hit the York area around 1:30 p.m.; the flood advisory has now expired.
Showers and thunderstorms are in the mix for the rest of the week as well.
More showers and thunderstorms are likely on Tuesday afternoon, and the rest of the day will be cloudy with a high near 84 degrees. Rainfall is predicted to be less than a tenth of an inch.
A 50 percent chance of showers and thunderstorms on Tuesday night continues into the forecast for Wednesday.
Wednesday will be mostly cloudy with a low of 66 degrees.
Expect mostly sunny skies on Thursday with a high of 88 degrees.
Friday will also be mostly sunny with a high near 90 degrees.
There is a chance of showers and thunderstorms again for the weekend as temperatures linger in the high 80s and low 90s.