ROCHESTER, N.H. (CBS) — A Portsmouth man has been arrested in connection with a brutal attack on a young woman outside a Rochester Planet Fitness in June.

Police said Jordan C. Lamonde, 22, was arrested on Monday afternoon and charged with second-degree assault.

READ MORE: Male In Norwood Shot Multiple Times, Taken By MedFlight To Boston Hospital; Police Searching For Gunman

Jordan C. Lamonde (Photo Courtesy: Rochester Police)

“This was a vicious, unprovoked attack that shocked our community, and I am proud to report that the suspect has been identified and apprehended,” Police Chief Paul Toussaint said.

On June 12 at about 10 p.m., surveillance video shows the beginning moments of a man attacking 18-year-old Erin McCarthy from behind as she walked to her car.

Police said the Lamonde punched McCarthy 39 times and threw her to the ground.

McCarthy did not sustain major injuries despite the multiple blows.

READ MORE: Allegiant Airplane Blows Out Tire After Rough Landing At Logan

“I mean, he threw me around like a rag doll, so I kind of just let it happen,” McCarthy said last month.

Surveillance video shows man attacking woman outside Rochester, NH gym (Image from Rochester PD)

About a month after the attack, police said they were still unable to make an arrest due to a company processing records for a search warrant related to the case though they had a strong suspect in mind.

McCarthy told WBZ-TV’s Louisa Moller she believes the attack was revenge for a dispute Lamonde had with her ex-boyfriend.

Erin McCarthy was attacked outside of a Planet Fitness in Rochester, NH (WBZ-TV)

Police said he waited outside for McCarthy, who works inside, for nearly the entirety of her eight-hour shift.

MORE NEWS: Thousands Honor Slain Danvers Teacher Colleen Ritzer At Annual 5K In Andover

Lamonde was held on $150,000 cash bail and will be arraigned on Tuesday at Strafford County Superior Court.