Dwight Quigley, 28 of Rapid City, was arrested following what police say was a random shooting Wednesday night.

According to a Rapid City Police Department release, about 9:45 p.m., someone shot into a car on the 200 block of Columbus Street, near downtown Rapid City.

When police arrived, they found that the driver had been shot several times. Three passengers in the car were also injured; one shot; one hit with fragments and the third passenger injured when the car crashed into a ditch. The extent of their injuries has not been released.

The investigation led police to the 200 block of Federal Avenue, several miles west of the shooting, where they found Quigley in a home. He reportedly ran but was taken down by a K-9 and then stunned with a Taser before being cuffed.

Police recovered a .223 semi-automatic rifle they believe was used in the shooting.

Police don’t think Quigley had any prior relationship with the shooting victims. He was arrested on four counts of attempted murder; as well as possession of a loaded weapon while intoxicated.

Quigley’s criminal history includes convictions for theft and domestic violence.