Baltimore Police have charged two suspects in the shooting of Officer Keona Holley, who remains on life support after being shot while sitting in her patrol car early Thursday morning, and say the men also carried out a killing an hour later in a different part of the city.

The gunmen approached Holley — now in critical but stable condition, according to CNN — from behind around 1:30 a.m. Thursday and opened fire, hitting her multiple times, police said.

Police Commissioner Michael Harrison said investigators pieced evidence together including security camera footage from the Curtis Bay area and used license plate readers to identify the owner of a vehicle seen fleeing the area as Elliott M. Knox, 31.

Police found Knox and took him in for questioning, where he confessed to being present but said a second man, Travon Shaw, 32, had fired the shots, according to a document obtained by The Baltimore Sun.

The documents also show that Holley was shot twice in the head, once in the leg and once in the hand.

A second killing was reported in the Yale Heights neighborhood about an hour later, and police believe evidence connects the suspects to that killing as well. Police identified the victim in that case as Justin Johnson, 27.