An Ohio man has been arrested and charged with purchasing a gun for the man who shot and killed two police officers in Ohio this weekend, the Justice Department announced Monday.

Gerald Lawson III of Warrensville Heights, Ohio, was charged with aiding and abetting the possession of a firearm by a prohibited person, the U.S. Attorney’s Office for the Southern District of Ohio said.

Lawson, 30, bought the Glock semi-automatic handgun for Quentin Smith, who is prohibited from possessing a firearm because he is a convicted felon.

Smith shot and killed two officers from the Westerville Police Department on Saturday. The officers were responding to a disturbance call, and an affidavit filed in court said Smith was armed with the Glock.

Westerville Police Chief Joe Morbitzer told reporters Sunday that the two officers, identified as Anthony Morelli and Eric Joering, exchanged gunfire with Smith, and Smith was ultimately wounded.

Smith had been indicted before for burglary, domestic violence, and felony assault, according to local reports.

The U.S. Attorney’s Office said Lawson and Smith were friends, and a witness told investigators Smith gave Lawson the money for the gun, as well as an extra $100 for buying it for him.

Lawson faces up to 10 years in prison.