Police have apprehended a gunman who they believe shot and killed at least six and seriously injured two others during a series of apparently random attacks that spanned four hours.

A total of eight people were shot in three locations Saturday as the gunman drove around shooting victims, Kalamazoo County Prosecutor Jeffrey Getting said.

WOOD-TV reports that the suspect was an Uber driver who apparently transported passengers between shootings.

Forty-five-year-old Jason Dalton was arrested early Sunday morning, Getting said. Dalton has no prior criminal record. "He was cooperative. ... He seemed pretty even-tempered," said Getting, speaking of sheriff's deputies apprehending Dalton without struggle.

"How do you go and tell the families of these victims they weren't targeted for any other reason than they were there to be a target?" Getting said.

Police believe Dalton began the attacks at an apartment complex outside Kalamazoo at about 6 p.m. Saturday, shooting a woman four times in the parking lot. The woman is in serious condition, police said.

Dalton next allegedly shot and killed a father and son at 10 p.m. who were sitting in their cars at a Kalamazoo car dealership eight miles from the apartment complex. About fifteen minutes later he killed four people and wounded a 14-year-old girl at a Cracker Barrel four miles from the car dealership, police said.

Police originally reported that the 14-year-old girl was killed, putting the death toll at seven. On Sunday morning, Getting said the girl was "severely, gravely" injured, but still alive.

"Call it a miracle," Getting added. "... I'm gonna cross my fingers, say a prayer and hope like hell (she survives)."

Each victim was shot multiple times, he said.

Police believe the victims were selected at random.

"What it looks like is we have someone just driving around, finding people and shooting them dead in their tracks," Kalamazoo County Undersheriff Paul Matyas told CNN. "This is your worst nightmare, when you have somebody just driving around randomly killing people."

Michigan Gov. Rick Snyder issued condolences via Twitter this morning, saying, "The families of Kalamazoo victims are in our thoughts today." Snyder thanked law enforcement "for a quick arrest."

Dalton likely will face multiple counts of first-degree murder and attempted murder when he appears before a judge Wednesday in a Kalamazoo County courtroom, Getting said.

Dalton was arrested at about 12:40 a.m. Sunday in downtown Kalamazoo. Authorities do not believe anyone else is involved. The investigation into Dalton's motive is ongoing.

Kalamazoo, with a population of about 75,000, is about 150 miles west of Detroit. It is home to Western Michigan University. The city also is known for the anonymously funded Kalamazoo Promise program, which has paid college tuition of students who graduate from Kalamazoo Public Schools for more than a decade.

Little is known about Dalton, who lives on a quiet suburban road in Kalamazoo. Property records show that Jason Dalton and Carole Dalton bought the house in 1997 with a $103,550 mortgage.

Contributing: Andrew Krietz, WZZM-TV, Grand Rapids-Kalamazoo-Battle Creek, Mich.; The Associated Press