These coeds stick together.

An NYU pal of Amelia Lewis, the college student randomly assaulted while walking to class this week, was herself attacked in the Big Apple earlier this year — and was the one who got her hands on the viral video that helped cops nab her friend’s alleged tormentor.

“When I got Amelia’s text, I was in class and felt sick,” student Summer Armstrong said during an exclusive interview with Sirius XM host Megyn Kelly on Wednesday. “This also happened to me once, and I was lucky enough to have footage.”

NYU pals Amelia Lewis, left, and Summer Armstrong told Megyn Kelly they have both been attacked in the Big Apple. Megyn Kelly / YouTube

Disturbing surveillance footage shows NYU coed Amelia Lewis being attacked on Monday, allegedly by ex-con James Rizzo. Storyful

Armstrong said she was the victim in a similar attack in May, with her assailant still on the loose.

“My assailant was never caught, but I knew footage is key,” Armstrong told Kelly. “My first thought was, ‘We need the footage, and we need to catch this guy.’”

Armstrong, whose mom is friends with Kelly, said she rushed to Warehouse Wine and Spirits on Broadway, near where Lewis was slapped in the butt and shoved shortly before 9:30 a.m. Monday.

Amelia Lewis, 20, said she went online after her attack in Lower Manhattan to raise awareness about similar assaults. @amelia.lewis16

“I walked in on FaceTime with Amelia,” she said. “I said, ‘My friend was assaulted. Please check your footage around this time.’ And they found it.”

The footage went viral after it was posted online — including by Kelly, a former Fox News host — and helped cops identify ex-con James Rizzo, who was charged with persistent sexual abuse and forcible touching in the attack by police on Tuesday.

Rizzo, a serial offender targeting women, was awaiting arraignment Wednesday night.

“I had high hopes,” Lewis told Kelly of cops arresting the suspect. “They were kind and said they were already aware of a man with a blue towel around his neck. But I think your platform — and X — really helped put pressure on them. I don’t know if this would’ve gotten as much attention without that, or without Summer getting the footage.”

Rizzo was hit with a slew of other charges, too, after the NYPD picked him up for allegedly burglarizing a building near Washington Square Park, including for the alleged attack on Lewis and another assault on a 68-year-old retired college professor from Texas visiting a friend in the Big Apple.

James Rizzo, 45, has 16 prior arrests, most of the charges for assaults targeting women in New York City, cops said. William C Lopez/New York Post

Amelia Lewis, 20, an NYU student from Connecticut, posted a tearful video online after her attack. @AmeliaLewi33832

In that incident, Jana Dianne Brazell told The Post she was walking back from the Macy’s Thanksgiving Day Parade last week when Rizzo got in her face and scowled, “Our whole society is a f—ing joke.”

Rizzo then allegedly pushed her down, leaving her dazed and cut before running off.

“The next thing I know, I’m flying through the air and I hit this glass wall at the side of a building,” she said.

Rizzo also faces an assault charge stemming from a Dec. 18, 2023, attack on a 59-year-old woman who was slapped in the face on Mercer Street near West Third Street.

Records show that Rizzo, whose first bust was on an attempted murder rap when he was 17, was only released from state prison in September after a two-year sentence on a sex assault conviction.

NYU student Summer Armstrong said she was attacked in May, and knew getting surveillance video was important. Megyn Kelly / YouTube

Amelia Lewis, a 20-year-old NYU student, said she was shocked, then angry, after she was attacked on Monday. @amelia.lewis16

Lewis, who posted a tearful account of the attack online Monday, told Kelly she wanted to put her story out there to help other women who could face similar assaults in the five boroughs.

“I wanted to bring awareness to what’s been happening to young women in New York,” she said during the Sirius XM interview. “On my TikTok I say, ‘I never thought this would happen to me.’ But it’s happening all the time.

“I wanted to use my voice to help other girls stay protected and support girls who’ve gone through the same thing,” Lewis said. “These stories happen over and over and over.”