A police officer who was shot several times while sitting in her patrol car one week ago has died.

Officer Keona Holley was shot in an ambush while working an overnight shift she had volunteered for in the early hours of Dec. 16 in Curtis Bay, Baltimore.

The 39-year-old mother of four had been on life support at the University of Maryland Shock Trauma Center.

On Dec. 23 Baltimore Police Commissioner Michael Harrison said she had been removed from life support.

“Her health has been deteriorating over the last couple of days and her family, in consultation with her doctors, has had to make the most difficult decision,” he wrote.

“It was Officer Holley’s valiant fight for her life, which has brought her this far. Her strength, courage and resilience are an inspiration to us all.”

Baltimore Mayor Brandon Scott also paid tribute to the “devoted public servant who worked selflessly to protect her community.

“Baltimore will never forget Officer Holley’s sacrifice and commitment to making a difference in her beloved city. I ask that everyone please keep Officer Holley’s family in your prayers as they endure the holiday season without their mother, daughter, sister and loyal friend,” he said in the Baltimore Police Facebook statement.

The suspect had approached the vehicle from behind and began firing into the vehicle where Officer Holley sat, as per reports.

Holley then accelerated the patrol vehicle and crashed, officials said.

Two men, Elliot Knox, 31, and Travon Shaw, 32, were charged last week with attempted murder in the shooting. They were also charged with murder following the death of Justin Johnson, who was shot shortly after the attack on Holley.

A motive is still unknown and police are continuing their investigation.