HARPSWELL — Two people were taken to a hospital after their pickup truck rear-ended a sheriff’s cruiser that was stopped with its emergency lights flashing at the scene of previous accident.

Cumberland County Sheriff’s Deputy Robert Mailman had stopped on Harpswell Island Road, also Route 24, on Sunday at about 1:40 p.m. to assist a motorist whose vehicle had left the roadway, according to a news release from the Cumberland County Sheriff’s Office. The roads were snow covered at the time.

The driver of the vehicle that had slid off the road was sitting in the cruiser when it was struck by a pickup driven by James Dyer, 23, whom police say was driving after suspension. The cruiser was pushed about 100 feet across the road into a guardrail.

Dyer complained of neck pain and his passenger, Mallory Perry, 26, who is pregnant, complained of pain in her ribs. The passenger in the cruiser was uninjured.

Police are still investigating the crash, but said it appears that speed and weather were factors.