Bodycam footage shows moments before an officer repeatedly punched a woman The woman was seen repeatedly yelling expletives at the officers.

A New Jersey police department has released body camera footage that shows the events leading up to an officer repeatedly punching a 20-year-old woman on a Jersey Shore beach over Memorial Day weekend.

The Wildwood Police Department released the footage from the camera worn by the officer "directly involved," explaining that it is in three separate videos because the camera had been "turned on and off" during the encounter, according to a press release.

The first video begins as the officer hands the woman -- previously identified as Philadelphia resident Emily Weinman -- a breathalyzer.

"Do me a favor," he says, holding up the yellow tool that somewhat resembles a flashlight. "Take a deep breath, and blow into that, alright?"

After the officer instructs her to "do it one more time," Weinman says to someone off camera, "Mind your business."

The officer then asks Weinman how old she is, and she responds, "I know that didn't come up positive. I didn't take a drink of anything."

Weinman then walks toward the ocean with her phone as the officer asks someone else off camera to take the breathalyzer test.

"Go grab her real quick," he tells another officer before referring to the alcoholic drinks Weinman was apparently in possession of. "We're gonna have them pour that all out."

The officer then turned his body camera off because he wasn't going to issue any violations, police said.

As the officer turned his body camera back on and the second video begins, Weinman asks him, "How are you gonna 'let us go'? We didn't even drink alcohol."

Weinman then argues that "you're allowed to carry alcohol. Even if you're underage, you are."

"That's interesting," the officer replies, before telling her that the alcohol is opened and displayed.

The audio then cuts for several seconds. As it comes back on, Weinman is heard telling the officer, "I didn't disrespect you. I didn't do anything to get written up, did I?'

"Now you're causing a scene," the officer tells her, before saying he will give her "one more chance" to provide her last name.

"Just be cooperative," someone else is heard telling her off camera.

Weinman then crosses her arms and says, "You can't lock me up. I didn't disrespect you. And you don't need to write my name down, either, 'cause I didn't disrespect you. I didn't do anything to you. You're mad because you thought we were drinking."

The officer then asks Weinman for her last name again, and she responds, "You don't need my last name," before sitting back down on the sand.

The officer then asks another officer if he has "cuffs" on him, prompting Weinman to yell "No!" and get up and walk away.

When the officer walks toward her, she turns around and yells, "Don't f------ touch me" multiple times.

"Alright, you're about to get dropped," the officer tells her.

The camera then shut off after Weinman allegedly "forcibly struck" the officer in the torso, police said.

The third video of body camera footage begins as the officer wrestles Weinman to the ground.

"No, let go of me," she screams.

During the ordeal, Weinman continues yelling expletives and complains that the officer is pulling her hair and choking her. She also screams for someone named Matt, who is apparently her boyfriend.

"I'm not choking you," the officer says.

"Yes you f------ are, you f------ d---head," she yells.

After Weinman tells the officer to "get the f--- off" her one more time, he responds, "That's it," before he’s seen hitting her.

A male voice off camera is heard saying, "Whoa, whoa, whoa," and the officer tells nearby bystanders to "Back the f--- up."

Weinman, who is screaming and crying throughout, tells the officer, "You're not allowed to hit me and choke me like that."

As the officer places the handcuffs on Weinman, who is still struggling against him, she tells him, "My daughter is right there seeing this. I didn't do anything wrong."

At one point, Weinman is seen in the video attempting to spit on the officers, calling one a "f------ dirtball," immediately after.

The rest of the video shows Weinman as she is led to more officers waiting to transfer her to jail. She continues to yell expletives at the officers, saying "Get the f--- off me, you white piece of trash," and telling nearby bystanders, "Don't stare unless you're gonna f------ help."

A man holding a young child then identifies himself as Weinman's boyfriend and tries to defend her, saying, "She didn't even open a can." Weinman then tells the officers that the child is her daughter.

After Weinman is placed in the squad car, the officer tells another officer who didn't witness the incident what happened, admitting that he hit her "a couple of times" and that Weinman tried to kick them. The video ends as the officers walk back to an ATV that was left on the beach.

A beachgoer named Alexis Hewitt was sleeping on a towel next to Weinman on Saturday when she heard the commotion, woke up and began recording, she told ABC News.

As the cellphone video begins, witnesses can be heard telling Weinman to stop resisting before the officer appears to punch her three times in the head as another officer appears to pin her legs down. The 54-second cellphone video ends as Weinman is being cuffed.

The video has been viewed more than 6.6 million times since it was posted on Twitter Saturday evening.

After the cellphone video gained traction online, Wildwood Police Chief Robert Regalbuto stated that he found it to be alarming, but warned the public against rushing to any judgment until the body camera video was released in its entirety.

"I clearly think it's something we need to work on, but, again, you have to see the entire video," he said on Monday.

The body camera footage was not immediately released because the department needed to redact the faces of beachgoers not involved in the encounter, the release states.

The officers involved in the incident were placed on administrative duty, Regalbuto confirmed to ABC News.

After the body camera footage was released, the Wildwood Police Department released the identities of three officers: Thomas Cannon, John Hillman and Robert Jordan.

It is unclear which officer did the punching. All three are part-time officers for the summer, police said. The New Jersey State Policemen's Benevolent Association did not immediately respond to ABC News' request for comment.

Weinman faces charges of aggravated assault on a police officer, aggravated assault by spitting bodily fluids at/on a police officer, disorderly conduct, resisting arrest, obstruction and possession of alcohol by a minor.

ABC News could not immediately reach Weinman's attorney, Stephen Dicht, for comment. After Wildwood Mayor Ernie Troiano defended the officers' actions and described Weinman as "by far the aggressor," Dicht told The Philadelphia Inquirer that the mayor's comments were "irresponsible."

"The number of people who think she got what she deserved is appalling,” Dicht told the newspaper on Tuesday.

In a now-deleted Facebook post, Weinman wrote that she had asked the officers if they had "something better to do." The officer then replied, "I was gonna let you go but now I'll write you up," Weinman wrote in the post.

The Cape May Prosecutor's Office and the Wildwood Police Department will release the findings and outcome of the investigation when it is complete, police said.

It is against the law to drink alcohol on the beach on the Jersey Shore.

ABC News' M.L. Nestel contributed to this report.