A shooting spree that spanned nearly five miles across a Missouri city ended with a car crash and a rampage at a gas station on Sunday night, leaving five people dead, including a police officer and the attacker, the authorities said.

The police in Springfield, Mo., said Monday that they first received a call about a shooting at 11:24 p.m. Sunday, in the southeast area of the city, about 220 miles southwest of St. Louis.

While officers were responding, more reports followed about shootings at other locations, and at about 11:43 p.m., a call came in about an incident at a Kum & Go gas station and convenience store on East Chestnut Expressway, near Highway 65.

“In essence, we had a roving active shooter moving from the South Side of the city up,” Chief Paul Williams of the Springfield Police Department said at a news conference on Monday. Chief Williams said later in an email that there was no discernible motive and that the investigation was ongoing.