(CNN) A woman whose violent arrest by New Jersey officers last Memorial Day weekend was captured in a video that went viral will serve probation under a plea deal and stay off local beaches for a year, her lawyer said.

The video shows Emily Weinman, then 20, being pinned down and grappling with Wildwood, New Jersey, officers, who'd stopped her for having unopened alcohol containers on the beach. It was viewed more than 3.6 million times on social media.

The melee raised questions about the officers' conduct, as well as Weinman's culpability. She initially was charged with two counts of aggravated assault on a police officer, plus resisting arrest and being a minor with alcohol, Wildwood police said at the time.

Weinman pleaded guilty Friday in Cape May County to disorderly conduct and was sentenced to one year of probation.

"We thought it was a very fair deal," Weinman's attorney, Stephen Dicht, told CNN, adding that the plea agreement shows that the assault charges "didn't have any merit."

Read More