JOPLIN, Mo. — A random shooting wounded five people Saturday, including three members of a Joplin church who were starting a trip to St. Louis, police said.

A 26-year-old suspect was taken into custody, The Joplin Globe reported.

“This came out of the blue, and all of a sudden people were shot and going to the hospital,” said Jason Glaskey, director of Christian education at Immanuel Lutheran Church, where three of the victims take part of the church’s Comfort Dog ministry. Police said there was no apparent motive for the shootings, which began early Saturday morning when officers were called to a duplex about a possible shooting, but found no victims.

Police began pursuing a suspect vehicle, when police said the driver fired shots at the church van, which was stopped at a traffic light. Two people in the van were hospitalized, and a third was treated and released.

Also, two comfort dogs, which provide assistance to people, were injured, Glaskey told the newspaper. One was released, and one was still getting medical care Saturday afternoon.

Police said the suspect then shot at a pickup truck, injuring two adults. The driver is hospitalized, and the passenger was released, according to police.

“As rounds were being fired, they (police) continued to stay with that suspect, continued to pursue that suspect even though they knew the suspect was actively firing his weapon,” Police Chief Matt Stewart said at a news conference.

The man surrendered and was arrested at 5:22 a.m., police said.

“We are very grateful that these victims do not appear to have life-threatening wounds because of this act,” Mayor Mike Seibert said.

Glaskey said he did not think anyone at the church knew the suspect, adding: “It was random.”