A 27-year-old man has been charged with murder for allegedly shooting a man in the head two months ago as the victim sat in his pickup truck outside his St. Paul home.

Kavion Jayvon Barnett, of St. Paul, was charged Wednesday in Ramsey County District Court with second-degree murder in the shooting of James J. King Sr. at about 9:45 a.m. on Feb. 9 in the 200 block of Front Avenue. King died on March 1.

Barnett was also charged this week with second-degree assault and drive-by shooting in the wounding of a man in the arm on the Earl Street overpass as the man was driving his family to church in St. Paul on Feb. 13.

According to charges:

After King was discovered in his driveway with the gunshot wound to the head, police gathered a .45 caliber casing that would end up matching the Earl Street shooting. A witness to King's shooting reported seeing the driver of a minivan pointing a gun out of the driver's side window before he heard a gunshot. Police traced the minivan to Barnett and surveillance video revealed it was also used in the Earl Street shooting. In the video, an officer identified Barnett and another man, Delaquay Williams, getting out of the minivan and leaving the vehicle in the middle of the road. Officers found fingerprints on the minivan from Barnett and Williams. The two "are inseparable and very good friends," the complaint read.

Williams, 27, of St. Paul, is charged with second-degree intentional murderin the death of Regis A. Jones, 31, of St. Paul, who was shot in the head and died on March 3 in the 600 block of Blair Avenue. Casings determined the same gun was used in all three shootings.

Barnett was arrested and a gun was found in a diaper bag at his home. After denying involvement in both shootings, he later said he didn't mean to kill King, only to scare him after the two had previous confrontations about loud music. When asked about the Earl Street bridge shooting, Barnett said he saw a car on the bridge slow down and he shot at it once "because he thought it was an opposing gang member in the car — not a family on their way to church," the complaint said.

At the time of the shootings, Barnett was awaiting sentencing on a charge of second-degree assault involving a firearm. He is currently booked in the Ramsey County jail.