A woman who was punched repeatedly by a California Highway Patrol (CHP) officer in an incident caught on film earlier this year will receive $1.5M as part of a settlement reached Wednesday. 

CHP Commissioner Joe Farrow announced the settlement in an emailed statement and an attorney for 51-year-old Marlene Pinnock confirmed the deal to the Associated Press. The agreement was reached after nine hours of mediation in Los Angeles. 

As part of the agreement, the officer who struck Pinnock, Daniel Andrew, will resign.  Andrew, who joined the CHP in 2012 and had been on paid administrative leave, could still be charged criminally in the case. The CHP forwarded the results of its investigation of the incident to Los Angeles County prosecutors last month, saying he could face serious charges but none have been filed yet. 

"When this incident occurred, I promised that I would look into it and vowed a swift resolution," Farrow's statement said. "Today, we have worked constructively to reach a settlement agreement that is satisfactory to all parties involved."

Pinnock's attorney, Caree Harper, says they wanted to make sure the woman could have financial stability for the rest of her life and wanted to make sure that Andrew would not be an officer any longer.

 The July 1 video of Andrew punching Pinnock was captured by a passing driver and spread widely on the internet and television.

According to a search warrant made public in court documents last month, Andrew had just pulled Pinnock from oncoming traffic and she resisted by pushing him after multiple drivers called 911 to report her walking barefoot along the side of the freeway.

Andrew then straddled her on the ground as Pinnock resisted by "kicking her legs, grabbing the officer's uniform and twisting her body," the warrant said. Andrew "struck her in the upper torso and head several times with a closed right fist," the records say.

The warrant said Pinnock suffered no signs of physical injury and refused medical treatment. She was placed on a psychiatric hold for two weeks.

Pinnock has been diagnosed with bipolar disorder and had been off her medication for two to three months before the altercation.

In an interview with the AP last month, Pinnock said she believed the officer was trying to kill her.

"He grabbed me, he threw me down, he started beating me," she said. "I felt like he was trying to kill me, beat me to death."

The Associated Press contributed to this report.